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


IRasterWorkspace2.OpenRasterDataset Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  IRasterDataset** RasterDataset
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR RasterDataset [out, retval]
RasterDataset is a parameter of type IRasterDataset

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