Tuples.SetBinding<T> Method (IEnumerable<T>, array<String[])
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Binds tuples 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), _
fieldNames As String() _
)
public void SetBinding<T>(
IEnumerable<T> binding,
string[] fieldNames
)
public:
generic<typename T>
void SetBinding(
IEnumerable<T>^ binding,
array<String^>^ fieldNames
)
member SetBinding :
binding:IEnumerable<'T> *
fieldNames:string[] -> unit
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- binding
Type: System.Collections.Generic.IEnumerable<T>
A sequence of objects, one for each data element.
- fieldNames
Type: array<System.String[]
The names of the properties of each input object that contain the values. There is one name for each domain.
.NET Framework Security
- 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.