CspTerm.Field Method (Object, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns an indexed 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 MustOverride Function Field ( _
key As Object, _
index As Integer _
) As CspTerm
public abstract CspTerm Field(
Object key,
int index
)
public:
virtual CspTerm^ Field(
Object^ key,
int index
) abstract
abstract Field :
key:Object *
index:int -> CspTerm
public abstract function Field(
key : Object,
index : int
) : CspTerm
Parameters
- key
Type: System.Object
An identifier used to retrieve the field.
- index
Type: System.Int32
An index used to specify which element to retrieve.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
An indexed 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.