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


IRasterWorkspace2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRasterWorkspace2 Interface

Provides access to members that control an improved raster workspace.

Product Availability

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

When To Use

IRasterWorkspace2 interface allows to create a raster dataset in addition to the functionalities provided by the IRasterWorkspace interface.

Members

Description
Method CanCopy Indicates if this dataset can be copied.
Method Copy Copies this workspace to a new workspace with the specified name.
Method CreateRasterDataset Creates a RasterDataset in the workspace given its name.
Method IsWorkspace Indicates if the file path specified is a raster workspace.
Method OpenRasterDataset Opens a RasterDataset in the workspace given its name.

CoClasses that implement IRasterWorkspace2

CoClasses and Classes Description
RasterWorkspace (esriDataSourcesRaster) The raster workspace object.

Remarks

IRasterWorspace2 is used to access a raster stored in a file system in any supported raster format. To access raster from geodtabase, use IRasterWorkspaceEx interface.

.NET Related Topics

DataSourcesRaster | Geodatabase | How to create a raster dataset