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

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

IDatasetContainer3.DatasetByID Property

The dataset associated with the specified index value and dataset type.

[Visual Basic .NET]
Public Function get_DatasetByID ( _
    ByVal Type As esriDatasetType, _
    ByVal DatasetID As Integer _
) As IDataset
public IDataset get_DatasetByID (
    esriDatasetType Type,
    int DatasetID
HRESULT get_DatasetByID(
  esriDatasetType Type,
  long DatasetID,
  IDataset** Dataset
Type [in]

Type is a parameter of type esriDatasetType DatasetID [in]
DatasetID is a parameter of type long Dataset [out, retval]
Dataset is a parameter of type IDataset**

Product Availability

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

See Also

IDatasetContainer3 Interface