Decision.GetString Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves a sequence of elements for the decision.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function GetString ( _
ParamArray indexes As Object() _
) As String
public string GetString(
params Object[] indexes
)
public:
String^ GetString(
... array<Object^>^ indexes
)
member GetString :
indexes:Object[] -> string
public function GetString(
... indexes : Object[]
) : String
Parameters
- indexes
Type: array<System.Object[]
A set of decisions, formulas, goals, or constraints in a model.
Return Value
Type: System.String
A sequence of (string, indexes) elements for the decision.
Exceptions
Exception | Condition |
---|---|
KeyNotFoundException | There is no value for the given indexes. |
ArgumentOutOfRangeException | The number of indexes given does not match the number expected. |
.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.