Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Parameter Class
Collapse the table of content
Expand the table of content

Parameter 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.]

Represents a group of terms that binds to data.


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

public sealed class Parameter : Term

The Parameter type exposes the following members.

Public methodParameter(Domain, String)Initializes a new instance of the Parameter class.
Public methodParameter(Domain, String, Set[])Initializes a new instance of the Parameter class.

Public propertyDescriptionGets or sets a description for a parameter object.
Public propertyIndexSetsGets the index sets for a parameter object.
Public propertyItemReturns the parameter specified by the indexes.
Public propertyNameGets the name of a parameter.

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>(IEnumerable<T>, Func<T, TResult>)
Public methodSetBinding<T>(IEnumerable<T>, String)Binds parameters to data.
Public methodSetBinding<T>(IEnumerable<T>, Func<T, TResult>, Boolean)
Public methodSetBinding<T>(IEnumerable<T>, String, String[])Binds parameters to data using the specified properties.
Public methodSetBinding<T>(IEnumerable<T>, Func<T, TResult>, Boolean, T)
Public methodSetBinding<T>(IEnumerable<T>, String, Rational, String[])Binds the parameter to data.
Public methodSetIndexSetResets the specified index set.
Public methodToString()Converts a parameter to its equivalent string representation. (Overrides Object.ToString().)
Public methodToString(String, IFormatProvider)Converts a term to its equivalent string representation. (Inherited from Term.)

Public Extension MethodSetBinding(IEnumerable<Object[]>)Overloaded. Binds an indexed parameter to a sequence of values. (Defined by BindingUtilities.)
Public Extension MethodSetBinding<T>(T)Overloaded. Binds a parameter object to a scalar value. (Defined by BindingUtilities.)
Public Extension MethodSetBinding<T>(IEnumerable<T>)Overloaded. Binds an indexed parameter to a sequence of values. (Defined by BindingUtilities.)
Public Extension MethodSetBinding<T>(IEnumerable<IEnumerable<T>>)Overloaded. Binds an indexed parameter object to a table. (Defined by BindingUtilities.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft