ArcGIS Pro 2.6 API Reference Guide
CloneItem Method

ArcGIS.Desktop.Framework.Contracts Namespace > Gallery Class : CloneItem Method
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 10, Windows 8.1, Windows 7

See Also

Reference

Gallery Class
Gallery Members