共用方式為


CorrelationToken.Properties 屬性

定義

取得 CorrelationProperty 中的 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)

屬性值

ICollection<CorrelationProperty>

CorrelationProperty 物件的集合。

屬性

範例

下列範例將示範存取相互關聯權杖物件的 Properties 屬性。

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

適用於