Edytuj

Udostępnij za pośrednictwem


ActivityDataTrackingExtract.Member Property

Definition

Gets or sets the field or the property to be extracted from the associated activity when a track point is matched.

public:
 virtual property System::String ^ Member { System::String ^ get(); void set(System::String ^ value); };
public override string Member { get; set; }
member this.Member : string with get, set
Public Overrides Property Member As String

Property Value

A dot delineated name that specifies a field or a property of the activity. The default is a null reference (Nothing in Visual Basic).

Remarks

Member can be set to specify a field or property of the activity; a member of such a field or property; or a single element of a field or property (or a member of either) that implements the IEnumerable interface. For example, if the activity has a string property named MyString and you want the runtime tracking infrastructure to return its length, you can set Member to "MyString.Length". Alternatively, to return the second char in MyString, you can set Member to "MyString[1]".

Note

Member must be the real name of a property on the activity type. This name may be different from what you see in the designer because the designer supports the ability to localize and map property names.

Applies to