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
ParameterDescription
TThe type of property value.
KThe type of property key.

Properties

NameDescription
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