CorrelationToken.Properties Property (System.Workflow.Runtime)

Switch View :
ScriptFree
.NET Framework Class Library
CorrelationToken.Properties Property

Gets the collection of CorrelationProperty objects in the CorrelationToken.

Namespace:  System.Workflow.Runtime
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)
Syntax

Visual Basic
<BrowsableAttribute(False)> _
Public ReadOnly Property Properties As ICollection(Of CorrelationProperty)
	Get
C#
[BrowsableAttribute(false)]
public ICollection<CorrelationProperty> Properties { get; }
Visual C++
[BrowsableAttribute(false)]
public:
property ICollection<CorrelationProperty^>^ Properties {
	ICollection<CorrelationProperty^>^ get ();
}
F#
[<BrowsableAttribute(false)>]
member Properties : ICollection<CorrelationProperty>

Examples

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

Visual Basic

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


C#

// Create a new Correlation Token
CorrelationToken propertiedToken = new CorrelationToken();
// Fetch a list of the correlation token properties
List<CorrelationProperty> tokenProperties = (List<CorrelationProperty>)propertiedToken.Properties;


Version Information

.NET Framework

Supported in: 4, 3.5, 3.0
.NET Framework Security

Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference