CspTerm.Field Method (Object)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the first element of a field that is labeled by a key.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function Field ( _
key As Object _
) As CspTerm
public CspTerm Field(
Object key
)
public:
CspTerm^ Field(
Object^ key
)
member Field :
key:Object -> CspTerm
public function Field(
key : Object
) : CspTerm
Parameters
- key
Type: System.Object
An identifier used to retrieve the field.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
The first element of the field.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.