This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterTypeOperation Interface > IRasterTypeOperation.OpenRasterDataset Method (ArcObjects .NET 10.4 SDK) |
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