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


IRasterTypeOperation.OpenRasterDataset Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterTypeOperation Interface > IRasterTypeOperation.OpenRasterDataset Method
ArcGIS Developer Help

IRasterTypeOperation.OpenRasterDataset Method

Opens a raster dataset even if it does not exist.

[Visual Basic .NET]
Public Function OpenRasterDataset ( _
    ByVal DataSource As String, _
    ByVal pRasterInfo As IRasterInfo, _
    ByVal overwrite As Boolean _
) As IRasterDataset
[C#]
public IRasterDataset OpenRasterDataset (
    string DataSource,
    IRasterInfo pRasterInfo,
    bool overwrite
);
[C++]
HRESULT OpenRasterDataset(
  BSTR DataSource,
  IRasterInfo* pRasterInfo,
  VARIANT_BOOL overwrite
);
[C++]
Parameters
DataSource [in]

DataSource is a parameter of type BSTR pRasterInfo [in]
pRasterInfo is a parameter of type IRasterInfo* overwrite [in]
overwrite is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterTypeOperation Interface