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


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

IRasterWorkspace.Copy Method

Copies this workspace to a new workspace with the specified name.

[Visual Basic .NET]
Public Function Copy ( _
    ByVal copyName As String, _
    ByVal copyWorkspace As IWorkspace _
) As IDataset
[C#]
public IDataset Copy (
    string copyName,
    IWorkspace copyWorkspace
);
[C++]
HRESULT Copy(
  BSTR copyName,
  IWorkspace* copyWorkspace
);
[C++]
Parameters
copyName [in]

copyName is a parameter of type BSTR copyWorkspace [in]
copyWorkspace is a parameter of type IWorkspace*

Product Availability

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

See Also

IRasterWorkspace Interface