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
Syntaxpublic struct Key<T, K>
where K : struct, new()
Public Structure Key(Of T, K As {Structure, New})
generic<typename T, typename K>
where K : value class, gcnew()
public value class Key
[<SealedAttribute>]
type Key<'T, 'K when 'K : struct, new()> = struct end
Type Parameters
- T
- The type of property value.
- K
- The type of property key.
The KeyT, K type exposes the following members.
Methods
ExamplesShows 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