CorrelationToken.Properties Właściwość

Definicja

Pobiera kolekcję CorrelationProperty obiektów w obiekcie 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)

Wartość właściwości

ICollection<CorrelationProperty>

Kolekcja obiektów CorrelationProperty.

Atrybuty

Przykłady

W poniższym przykładzie pokazano, jak uzyskać dostęp do właściwości Właściwości obiektu tokenu korelacji.

// 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))

Dotyczy