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)

public ICollection<CorrelationProperty> Properties { get; }

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;

.NET Framework
Available since 3.0
Return to top