ArcGIS Developer Help  (GeoDatabase)    

IDataset.CanCopy Method

True if this dataset can be copied.

[Visual Basic 6.0]
Function CanCopy As Boolean
[Visual Basic .NET]
Public Function CanCopy ( _
) As Boolean
[C#]
public bool CanCopy (
);
[Java]
public Boolean canCopy (
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CanCopy(
  VARIANT_BOOL* CanCopy
);
[C++]

Parameters

CanCopy [out, retval]

  CanCopy is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

The Copy, Delete, and Rename methods, as in ArcCatalog, are not available in all circumstances. For example, you may not copy a FeatureDataset. You should normally use the CanCopy, CanDelete, and CanRename properties in conjunction with these methods.

See Also

IDataset Interface

 


Feedback Send feedback on this page