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


IRasterWorkspace2.OpenRasterDataset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterWorkspace2 Interface > IRasterWorkspace2.OpenRasterDataset Method
ArcGIS Developer Help

IRasterWorkspace2.OpenRasterDataset Method

Opens a RasterDataset in the workspace given its name.

[Visual Basic .NET]
Public Function OpenRasterDataset ( _
    ByVal Name As String _
) As IRasterDataset
[C#]
public IRasterDataset OpenRasterDataset (
    string Name
);
[C++]
HRESULT OpenRasterDataset(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

Remarks

OpenRasterDataset  opens a  RasterDataset from a supported file based raster format, such as GRID, Imagine, BMP, TIFF, etc.

See Also

IRasterWorkspace2 Interface