This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatasetContainer2 Interface > IDatasetContainer2.DatasetCount Property (ArcObjects .NET 10.4 SDK) |
The number of datasets of the specified type in this container.
[Visual Basic .NET] Public Function get_DatasetCount ( _ ByVal Type As esriDatasetType _ ) As Integer
[C#] public int get_DatasetCount ( esriDatasetType Type );
[C++]
HRESULT get_DatasetCount(
esriDatasetType Type,
long* Count
);
[C++]
Parameters Type [in]
Type is a parameter of type esriDatasetType Count [out, retval] Count is a parameter of type long
The DatasetCount property returns the number of datasets of the specified type in this container.