RandomParameter.GetIndexFieldGetters<T> Method

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

Creates get accessors for each index.

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

Syntax

'Declaration
Protected Function GetIndexFieldGetters(Of T) ( _
    binding As Boolean, _
    ParamArray indexFields As T _
) As Func()
protected Func[] GetIndexFieldGetters<T>(
    bool binding,
    params T indexFields
)
protected:
generic<typename T>
array<Func^>^ GetIndexFieldGetters(
    bool binding, 
    ... T indexFields
)
member GetIndexFieldGetters : 
        binding:bool * 
        indexFields:'T -> Func[] 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • binding
    Type: System.Boolean
    A sequence of objects; one for each data element.
  • indexFields
    Type: T
    The names of the properties of each input object that contain the indexes of the data elements, one for each index set that was provided when the parameter was created.

Return Value

Type: array<System.Func<T, TResult>[]
The get accessors for each index.

.NET Framework Security

See Also

Reference

RandomParameter Class

Microsoft.SolverFoundation.Services Namespace