//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);
});
Requirements
Target Platforms: Windows 11, Windows 10, Windows 8.1