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


IRasterWorkspaceEx.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 > IRasterWorkspaceEx Interface > IRasterWorkspaceEx.OpenRasterDataset Method
ArcGIS Developer Help

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
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

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 Get and set key properties on a mosaic dataset Publish an image service and set configurations Create an NDVI custom raster function