LogNormalDistributionParameter.SetBinding<T> Method (IEnumerable<T>, String, String)

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

Binds parameters to data.

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

Syntax

'Declaration
Public Sub SetBinding(Of T) ( _
    binding As IEnumerable(Of T), _
    meanLogField As String, _
    stdLogField As String _
)
public void SetBinding<T>(
    IEnumerable<T> binding,
    string meanLogField,
    string stdLogField
)
public:
generic<typename T>
void SetBinding(
    IEnumerable<T>^ binding, 
    String^ meanLogField, 
    String^ stdLogField
)
member SetBinding : 
        binding:IEnumerable<'T> * 
        meanLogField:string * 
        stdLogField:string -> unit 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • meanLogField
    Type: System.String
    The name of the property of each input object that contains the mean of the logarithm for the distribution.
  • stdLogField
    Type: System.String
    The name of the property of each input object that contains the value of the standard deviation of the logarithm for the distribution.

Remarks

You must bind each parameter before solving the model. The data must be in the form of a sequence of objects, where each object has properties for the value and indexes of the data element. The data is read each time the Solve() method is called.

.NET Framework Security

See Also

Reference

LogNormalDistributionParameter Class

SetBinding Overload

Microsoft.SolverFoundation.Services Namespace