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

IDatasetContainer2.DatasetNames Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatasetContainer2 Interface > IDatasetContainer2.DatasetNames Property
ArcGIS Developer Help

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
public IEnumDatasetName get_DatasetNames (
    esriDatasetType Type
HRESULT get_DatasetNames(
  esriDatasetType Type,
  IEnumDatasetName** Names
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.


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

See Also

IDatasetContainer2 Interface