NelderMeadSolver.GetProperty Method

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

Gets a property for the specified index.

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

Syntax

'Declaration
Public Function GetProperty ( _
    propertyName As String, _
    vid As Integer _
) As Object
public Object GetProperty(
    string propertyName,
    int vid
)
public:
virtual Object^ GetProperty(
    String^ propertyName, 
    int vid
) sealed
abstract GetProperty : 
        propertyName:string * 
        vid:int -> Object 
override GetProperty : 
        propertyName:string * 
        vid:int -> Object 
public final function GetProperty(
    propertyName : String, 
    vid : int
) : Object

Parameters

  • propertyName
    Type: System.String
    The name of the property to get.

Return Value

Type: System.Object
The value.

Implements

ISolverProperties.GetProperty(String, Int32)

Exceptions

Exception Condition
ArgumentNullException

The property name is null.

ArgumentException

The variable index is invalid.

InvalidSolverPropertyException

The property is not supported, and why the property is not supported.

Remarks

This method is typically called by Solver Foundation Services in response to event.

.NET Framework Security

See Also

Reference

NelderMeadSolver Class

Microsoft.SolverFoundation.Solvers Namespace