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


IRasterWorkspace2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterWorkspace2 Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement IRasterWorkspace2

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.