GetCustomProperty Method (Element)
Gets a Custom Property value for the element.
Public Function GetCustomProperty( _
ByVal As String _
) As String
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, Windows 8.1
ArcGIS Pro version: 2.2 or higher.