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


IDatasetContainer3.DatasetByID Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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
[C#]
public IDataset get_DatasetByID (
    esriDatasetType Type,
    int DatasetID
);
[C++]
HRESULT get_DatasetByID(
  esriDatasetType Type,
  long DatasetID,
  IDataset** Dataset
);
[C++]

Parameters 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