GetCustomProperty Method (IElement)
Gets a Custom Property value for the element.
Parameters
- key
Return Value
Returns a
string based on the key that is provided.
Element_GetCustomProperty
//Get a custom property that has been previously set.
//Perform on the worker thread
await QueuedTask.Run(() =>
{
String custProp = element.GetCustomProperty("MyKeyString");
});
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.