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

IRasterWorkspace2.OpenRasterDataset Method (ArcObjects .NET 10.7 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
public IRasterDataset OpenRasterDataset (
    string Name
HRESULT OpenRasterDataset(
  BSTR Name
Name [in]

Name is a parameter of type BSTR

Product Availability

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


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

See Also

IRasterWorkspace2 Interface