GeometricDistributionParameter.SetBinding<T> Method (IEnumerable<T>, String)
Solver Foundation 3.0
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Binds the parameter to data.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public void SetBinding<T>( IEnumerable<T> binding, string successProbabilityField )
Type Parameters
- T
Parameters
- binding
- Type: System.Collections.Generic.IEnumerable<T>
A sequence of objects, one for each data element.
- successProbabilityField
- Type: System.String
Success probability of the distribution.
| Exception | Condition |
|---|---|
| InvalidModelDataException | A property or field cannot be found. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.