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

  • 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

See Also

Reference

CspComposite Class

Microsoft.SolverFoundation.Solvers Namespace