Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

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.

System.Object
  Microsoft.SolverFoundation.Services.Set

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public sealed class Set

The Set type exposes the following members.

  NameDescription
Public methodSet(Term[])Infrastructure. Initializes a new instance of the Set class.
Public methodSet(Domain, String)Initializes a new instance of the Set class. Creates a new set.
Public methodSet(Term, Term, Term)Infrastructure. Initializes a new instance of the Set class.
Public methodSet(Term[], Domain, String) Creates a set with fixed values.
Top
  NameDescription
Public propertyIsConstantIndicates whether the values for the Set were established upon creation.
Public propertyIsLockedIndicates whether additional values may be added to a Set, for example by data binding operations on Parameters.
Public propertyNameGets the name of a set.
Top
  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetBinding<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.
Public methodToStringConverts a set to its equivalent string representation. (Overrides Object.ToString().)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.