CorrelationToken.Properties 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 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)
屬性值
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))