KeyTK

Key<T,K> structure

Represents a property key of a class of the specified type. An instance of this class is used when getting or setting property of a container.

public struct Key<T, K>
    where K : struct
Parameter Description
T The type of property value.
K The type of property key.

Properties

Name Description
KeyType { get; } Gets the key of the property.

Examples

Shows how to read/write Prj.ActualsInSync property.

var project = new Project();

project.Set(Prj.ActualsInSync, true);

Console.WriteLine("Actuals In Sync: " + project.Get(Prj.ActualsInSync));

See Also