This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterWorkspace2 Interface > IRasterWorkspace2.OpenRasterDataset Method (ArcObjects .NET 10.5 SDK) |
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
OpenRasterDataset opens a RasterDataset from a supported file based raster format, such as GRID, Imagine, BMP, TIFF, etc.