CorrelationToken.Properties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))