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


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

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,
  IRasterDataset** ppRasterDataset
);
[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 VARIANT_BOOL ppRasterDataset [out, retval]
ppRasterDataset is a parameter of type IRasterDataset

Product Availability

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

See Also

IRasterTypeOperation Interface