CspComposite.AddField Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Adds a member.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overridable Function AddField ( _
domain As CspDomain, _
key As Object, _
arity As Integer _
) As CspTerm()
public virtual CspTerm[] AddField(
CspDomain domain,
Object key,
int arity
)
public:
virtual array<CspTerm^>^ AddField(
CspDomain^ domain,
Object^ key,
int arity
)
abstract AddField :
domain:CspDomain *
key:Object *
arity:int -> CspTerm[]
override AddField :
domain:CspDomain *
key:Object *
arity:int -> CspTerm[]
public function AddField(
domain : CspDomain,
key : Object,
arity : int
) : CspTerm[]
Parameters
- domain
Type: Microsoft.SolverFoundation.Solvers.CspDomain
The domain for a field.
- key
Type: System.Object
The key that is used to refer to this field.
- arity
Type: System.Int32
The number of fields in the domain.
Return Value
Type: array<Microsoft.SolverFoundation.Solvers.CspTerm[]
A new term with an added 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.