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

IRasterDatasetContainer.GetSubRasterDatasetByName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterDatasetContainer Interface > IRasterDatasetContainer.GetSubRasterDatasetByName Method
ArcGIS Developer Help

IRasterDatasetContainer.GetSubRasterDatasetByName Method

The given subdataset by name.

[Visual Basic .NET]
Public Function GetSubRasterDatasetByName ( _
    ByVal SubdatasetName As String _
) As IRasterDataset
public IRasterDataset GetSubRasterDatasetByName (
    string SubdatasetName
HRESULT GetSubRasterDatasetByName(
  BSTR SubdatasetName
SubdatasetName [in]

SubdatasetName is a parameter of type BSTR

Product Availability

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

See Also

IRasterDatasetContainer Interface