This document is archived and information here might be outdated.  Recommended version.


IDatasetContainer2.DatasetNames Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDatasetContainer2.DatasetNames Property

The names of all the datasets with the specified type.

[Visual Basic .NET]
Public Function get_DatasetNames ( _
    ByVal Type As esriDatasetType _
) As IEnumDatasetName
[C#]
public IEnumDatasetName get_DatasetNames (
    esriDatasetType Type
);
[C++]
HRESULT get_DatasetNames(
  esriDatasetType Type,
  IEnumDatasetName** Names
);
[C++]

Parameters Type [in]
Type is a parameter of type esriDatasetType Names [out, retval]
Names is a parameter of type IEnumDatasetName**

Product Availability

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

Remarks

The DatasetNames property returns an enumerator of IDatasetNames over the datasets of the specified type.

See Also

IDatasetContainer2 Interface