HybridLocalSearchModel.AddFunction Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function AddFunction ( _
fun As Func, _
<OutAttribute> vidOp As Boolean, _
vids As Double() _
) As Boolean
public bool AddFunction(
Func fun,
bool vidOp,
double[] vids
)
public:
bool AddFunction(
Func^ fun,
[OutAttribute] bool vidOp,
array<double>^ vids
)
member AddFunction :
fun:Func *
vidOp:bool byref *
vids:float[] -> bool
public function AddFunction(
fun : Func,
vidOp : boolean,
vids : double[]
) : boolean
Parameters
- fun
Type: System.Func<T, TResult>
- vidOp
Type: System.Boolean
- vids
Type: array<System.Double[]
Return Value
Type: System.Boolean
.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.