Activity.GetCustomProperty(String) Method

Definition

Returns the object mapped to the specified property name.

public:
 System::Object ^ GetCustomProperty(System::String ^ propertyName);
public object? GetCustomProperty (string propertyName);
member this.GetCustomProperty : string -> obj
Public Function GetCustomProperty (propertyName As String) As Object

Parameters

propertyName
String

The name associated to the object.

Returns

The object mapped to the property name, if one is found; otherwise, null.

Applies to