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.
- vid
Type: System.Int32
The variable index.
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
- 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.
See Also
Reference
LinearModel Members