KeyT, 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.

Namespace:  Aspose.Tasks
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntax
public struct Key<T, K>
where K : struct, new()

Type Parameters

T
The type of property value.
K
The type of property key.

The KeyT, K type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from ValueType.)
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