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


IDataset.CanCopy Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDataset.CanCopy Method

True if this dataset can be copied.

[Visual Basic .NET]
Public Function CanCopy ( _
) As Boolean
[C#]
public bool CanCopy (
);
[C++]
HRESULT CanCopy(
void
);

Product Availability

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

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

The CanCopy method is supported by:

See Also

IDataset Interface