CspTerm.Key Property

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets an identifier for variable or function terms.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public abstract Object Key { get; set; }

Property Value

Type: System.Object
An identifier for variable or function terms.


An attempt is made to change an existing key.

A variable term is created together with a key object to function as its identifier. By default, function terms do not have keys. Keys are added to a dictionary and appear in the solution.