public void SetDefinition( CIMElement cimElement )
Public Sub SetDefinition( _ ByVal cimElement As CIMElement _ )
Parameters
- cimElement
- CIMElement
public void SetDefinition( CIMElement cimElement )
Public Sub SetDefinition( _ ByVal cimElement As CIMElement _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run. |
//Modify an element's CIM properties. //Perform on the worker thread await QueuedTask.Run(() => { CIMElement CIMElm = element.GetDefinition(); //Modify a CIM value element.SetDefinition(CIMElm); });
Target Platforms: Windows 10, Windows 8.1, Windows 7