ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / CustomItemBase Class / CanDelete Method

In This Topic
    CanDelete Method
    In This Topic
    Gets whether your item can be deleted. The default is false
    Syntax
    Public Overridable Function CanDelete() As Boolean
    public virtual bool CanDelete()

    Return Value

    True if the item can be deleted, otherwise false
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also