ConstraintSystem.TryGetVariableFromKey Method

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

Returns a value that indicates whether a variable is retrieved by its key.

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

Syntax

'Declaration
Public Function TryGetVariableFromKey ( _
    key As Object, _
    <OutAttribute> ByRef term As CspTerm _
) As Boolean
public bool TryGetVariableFromKey(
    Object key,
    out CspTerm term
)
public:
bool TryGetVariableFromKey(
    Object^ key, 
    [OutAttribute] CspTerm^% term
)
member TryGetVariableFromKey : 
        key:Object * 
        term:CspTerm byref -> bool 
public function TryGetVariableFromKey(
    key : Object, 
    term : CspTerm
) : boolean

Parameters

Return Value

Type: System.Boolean
true if a variable is retrieved by its key; otherwise, false.

.NET Framework Security

See Also

Reference

ConstraintSystem Class

Microsoft.SolverFoundation.Solvers Namespace