ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Gallery Class / CloneItem Method

In This Topic
    CloneItem Method
    In This Topic
    This is necessary for gallery customization dialog. It is used to create a new item when adding a new gallery item.
    Syntax
    protected internal virtual object CloneItem( 
       object sourceItem
    )
    Protected Friend Overridable Function CloneItem( _
       ByVal sourceItem As Object _
    ) As Object

    Parameters

    sourceItem
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also