Tuples.SetBinding<T> Method (IEnumerable<T>, String[], 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 tuples to data using the specified properties.

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

public void SetBinding<T>(
	IEnumerable<T> binding,
	string[] fieldNames,
	params string[] indexFields
)

Type Parameters

T

Parameters

binding
Type: System.Collections.Generic.IEnumerable<T>
A sequence of objects, one for each data element.
fieldNames
Type: System.String[]
The names of the properties of each input object that contain the values. There is one name for each domain.
indexFields
Type: System.String[]
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.

Show: