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


IRasterWorkspace.OpenRasterDataset Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterWorkspace.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.

See Also

IRasterWorkspace Interface

.NET Snippets

Open Raster File As GeoDatset

.NET Samples

Create a custom raster type from the ground up for DMCII data (Code Files: DMCIIRasterType) | Publish an image service and set configurations (Code Files: ISConfig) | Create a Math Function Raster dataset (Code Files: CreateMathFunctionRasterDataset) | Create a custom NoData pixel filter (Code Files: TestApp) | Create an NDVI custom raster function (Code Files: NDVICustomFunction TestNDVICustomFunction) | Create a Function Raster dataset (Code Files: CreateFunctionRasterDataset) | Create a custom raster function (Code Files: TestWatermarkFunction WatermarkFunction)

.NET Related Topics

Accessing ECWP service | DataSourcesRaster | How to access a raster dataset | How to save a function raster dataset into a raster dataset | Performing a spatial analysis operation using objects