ArcObjects Library Reference (GeoDatabase)  

IRasterWorkspaceEx.OpenRasterDataset Method

Opens an existing raster dataset.

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

Parameters

Name [in]   Name is a parameter of type BSTR Dataset [out, retval]

  Dataset is a parameter of type IRasterDataset

Product Availability

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

Remarks

The OpenRasterDataset method opens a raster dataset in the geodatabase. It provides access to the RasterDataset geodatabase workspace.

See Also

IRasterWorkspaceEx Interface

.NET Samples

Create a custom raster function (Code Files: TestWatermarkFunction) | Publish an image service and set configurations (Code Files: ISConfig) |

.NET Related Topics

DataSourcesRaster | How to access a raster catalog | How to access a raster dataset |