CspSolutionMapping.TryGetVid Method (Constraint, array<Object[], Int32, Int32%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns a value that indicates whether a row identifier is mapped to a constraint.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Overrides Function TryGetVid ( _
constraint As Constraint, _
indexes As Object(), _
component As Integer, _
<OutAttribute> ByRef vid As Integer _
) As Boolean
public override bool TryGetVid(
Constraint constraint,
Object[] indexes,
int component,
out int vid
)
public:
virtual bool TryGetVid(
Constraint^ constraint,
array<Object^>^ indexes,
int component,
[OutAttribute] int% vid
) override
abstract TryGetVid :
constraint:Constraint *
indexes:Object[] *
component:int *
vid:int byref -> bool
override TryGetVid :
constraint:Constraint *
indexes:Object[] *
component:int *
vid:int byref -> bool
public override function TryGetVid(
constraint : Constraint,
indexes : Object[],
component : int,
vid : int
) : boolean
Parameters
- constraint
Type: Microsoft.SolverFoundation.Services.Constraint
The constraint.
- indexes
Type: array<System.Object[]
The indexes that are related to the constraint.
- component
Type: System.Int32
The components of the constraint.
- vid
Type: System.Int32%
The row identifier.
Return Value
Type: System.Boolean
true if the row identifier is mapped to the constraint; otherwise, false.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | Any time this method is called. |
.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.