ArcGIS Developer Help  (GeoDatabase)    

IDataset.CanRename Method

True if this dataset can be renamed.

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

Parameters

CanRename [out, retval]

  CanRename 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