ArcObjects Library Reference  (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
public bool CanRename (
public Boolean canRename (
HRESULT CanRename(


CanRename [out, retval]

  CanRename is a parameter of type VARIANT_BOOL

Product Availability

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


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 or rename 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.

See Also

IDataset Interface