Parameter.SetBinding<T> Method (IEnumerable<T>, Func, Boolean, T)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.SolverFoundation.Services
Assemblies: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub SetBinding(Of T) ( _
binding As IEnumerable(Of T), _
valueGetter As Func, _
defaultValue As Boolean, _
ParamArray indexGetter As T _
)
public void SetBinding<T>(
IEnumerable<T> binding,
Func valueGetter,
bool defaultValue,
params T indexGetter
)
public:
generic<typename T>
void SetBinding(
IEnumerable<T>^ binding,
Func^ valueGetter,
bool defaultValue,
... T indexGetter
)
member SetBinding :
binding:IEnumerable<'T> *
valueGetter:Func *
defaultValue:bool *
indexGetter:'T -> unit
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- binding
Type: System.Collections.Generic.IEnumerable<T>
- valueGetter
Type: System.Func<T, TResult>
- defaultValue
Type: System.Boolean
- indexGetter
Type: T
.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.