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


IRasterWorkspaceEx.OpenRasterDataset Method (ArcObjects .NET 10.4 SDK)
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

Publish an image service and set configurations (Code Files: ISConfig) | Get and set key properties on a mosaic dataset (Code Files: GetSetKeyProperty) | Create an NDVI custom raster function (Code Files: TestNDVICustomFunction) | Create a custom raster function (Code Files: TestWatermarkFunction)

.NET Related Topics

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