public void SetDefinition( CIMEditingTemplate definition )
Public Sub SetDefinition( _ ByVal definition As CIMEditingTemplate _ )
Parameters
- definition
- the new CIM definition for this template.
public void SetDefinition( CIMEditingTemplate definition )
Public Sub SetDefinition( _ ByVal definition As CIMEditingTemplate _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
QueuedTask.Run(() => { var tableTemplate = table.GetTemplate("Template1"); var definition = tableTemplate.GetDefinition(); definition.Description = "New definition"; definition.Name = "New name"; // update the definition tableTemplate.SetDefinition(definition); });
Target Platforms: Windows 11, Windows 10, Windows 8.1