Set Class
Solver Foundation 3.0
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines a set of values in a domain.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
The Set type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Set(Term()) | Infrastructure. Initializes a new instance of the Set class. |
![]() | Set(Domain, String) | Initializes a new instance of the Set class. Creates a new set. |
![]() | Set(Term, Term, Term) | Infrastructure. Initializes a new instance of the Set class. |
![]() | Set(Term(), Domain, String) | Creates a set with fixed values. |
| Name | Description | |
|---|---|---|
![]() | IsConstant | Indicates whether the values for the Set were established upon creation. |
![]() | IsLocked | Indicates whether additional values may be added to a Set, for example by data binding operations on Parameters. |
![]() | Name | Gets the name of a set. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetBinding(Of T) | Binds the set to data. The data must be in the form of a sequence of objects, where each object has a property for the value for a set element. The data is read each time Context.Solve() is called. |
![]() | ToString | Converts a set to its equivalent string representation. (Overrides Object.ToString.) |
Show:
