LinearModel.GetProperty Method

Gets a property at a specified index.

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

Syntax

'Declaration
Public Overridable Function GetProperty ( _
    propertyName As String, _
    vid As Integer _
) As Object
public virtual Object GetProperty(
    string propertyName,
    int vid
)
public:
virtual Object^ GetProperty(
    String^ propertyName, 
    int vid
)
abstract GetProperty : 
        propertyName:string * 
        vid:int -> Object 
override GetProperty : 
        propertyName:string * 
        vid:int -> Object 
public 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 of a property at a specified index.

Implements

ISolverProperties.GetProperty(String, Int32)

Exceptions

Exception Condition
ArgumentNullException

propertyName is a null reference (Nothing in Visual Basic).

ArgumentException

vid is invalid.

.NET Framework Security

See Also

Reference

LinearModel Class

LinearModel Members

Microsoft.SolverFoundation.Services Namespace