ArcGIS Pro 2.9 API Reference Guide
CanDelete Method

ArcGIS.Desktop.Core Namespace > CustomItemBase Class : CanDelete Method
Gets whether your item can be deleted. The default is false
Syntax
public virtual bool CanDelete()
Public Overridable Function CanDelete() As Boolean

Return Value

True if the item can be deleted, otherwise false
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

CustomItemBase Class
CustomItemBase Members