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 NoData pixel filter (Code Files: TestApp) | Create a custom raster function (Code Files: TestWatermarkFunction WatermarkFunction) | Create a Function Raster dataset (Code Files: CreateFunctionRasterDataset) | Publish an image service and set configurations (Code Files: ISConfig) |

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