ArcObjects Library Reference (GeoDatabase)  

IDatasetContainer2.DatasetCount Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The DatasetCount property returns the number of datasets of the specified type in this container.

See Also

IDatasetContainer2 Interface