Model.Constraints Property

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

Gets a collection of constraints that are defined directly in a model.

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

Syntax

'Declaration
Public ReadOnly Property Constraints As IEnumerable(Of Constraint)
public IEnumerable<Constraint> Constraints { get; }
public:
property IEnumerable<Constraint^>^ Constraints {
    IEnumerable<Constraint^>^ get ();
}
member Constraints : IEnumerable<Constraint>
function get Constraints () : IEnumerable<Constraint>

Property Value

Type: System.Collections.Generic.IEnumerable<Constraint>
A collection of constraints that are defined directly in the model.

.NET Framework Security

See Also

Reference

Model Class

Microsoft.SolverFoundation.Services Namespace