This document is archived and information here might be outdated. Recommended version. |
The number of features selected by the specified query.
[Visual Basic .NET] Public Function FeatureCount ( _ ByVal QueryFilter As IQueryFilter _ ) As Integer
[C#] public int FeatureCount ( IQueryFilter QueryFilter );
[C++]
HRESULT FeatureCount(
IQueryFilter* QueryFilter
);
[C++] Parameters QueryFilter [in]
QueryFilter is a parameter of type IQueryFilter*
FeatureCount returns the number of features that satisfy some attribute and/or spatial query as specified by an IQueryFilter object. If Nothing is supplied for the IQueryFilter, then FeatureCount returns the total number of features in the feature class.
IFeatureClass Interface | IQueryFilter Interface