This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRasterDataset Interface > IRasterDataset.Copy Method (ArcObjects .NET 10.5 SDK) |
Copies this dataset to a new dataset 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,
IDataset** CopyDataset
);
[C++]
Parameters copyName [in] copyName is a parameter of type BSTR copyWorkspace [in]
copyWorkspace is a parameter of type IWorkspace CopyDataset [out, retval]
CopyDataset is a parameter of type IDataset