ArcGIS Pro 2.7 API Reference Guide
SetDefinition Method (EditingTemplate)

ArcGIS.Desktop.Editing.Templates Namespace > EditingTemplate Class : SetDefinition Method
the new CIM definition for this template.
Sets the CIM definition of this EditingTemplate. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetDefinition( 
   CIMEditingTemplate definition
)
Public Sub SetDefinition( _
   ByVal definition As CIMEditingTemplate _
) 

Parameters

definition
the new CIM definition for this template.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

EditingTemplate Class
EditingTemplate Members