Επεξεργασία

Κοινή χρήση μέσω


CorrelationToken.Properties Property

Definition

Gets the collection of CorrelationProperty objects in the CorrelationToken.

public:
 property System::Collections::Generic::ICollection<System::Workflow::Runtime::CorrelationProperty ^> ^ Properties { System::Collections::Generic::ICollection<System::Workflow::Runtime::CorrelationProperty ^> ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Collections.Generic.ICollection<System.Workflow.Runtime.CorrelationProperty> Properties { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Properties : System.Collections.Generic.ICollection<System.Workflow.Runtime.CorrelationProperty>
Public ReadOnly Property Properties As ICollection(Of CorrelationProperty)

Property Value

A collection of CorrelationProperty objects.

Attributes

Examples

The following example demonstrates accessing the Properties property of a correlation token object.

// Create a new Correlation Token
CorrelationToken propertiedToken = new CorrelationToken();
// Fetch a list of the correlation token properties
List<CorrelationProperty> tokenProperties = (List<CorrelationProperty>)propertiedToken.Properties;
' Create a new Correlation Token
Dim propertiedToken As New CorrelationToken()
' Fetch a list of the correlation token properties
Dim tokenProperties As List(Of CorrelationProperty) = CType(propertiedToken.Properties, List(Of CorrelationProperty))

Applies to