ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomItemBase Class / CanRename Property

In This Topic
    CanRename Property (CustomItemBase)
    In This Topic
    Gets whether the item can be renamed. The default is true
    Syntax
    Protected Overridable ReadOnly Property CanRename As Boolean
    protected virtual bool CanRename {get;}
    Remarks
    Override to return false to prevent renaming
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also