CspSolutionMapping.TryGetGoal Method

[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 goal.

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

Syntax

'Declaration
Public Overrides Function TryGetGoal ( _
    vid As Integer, _
    <OutAttribute> ByRef goal As Goal _
) As Boolean
public override bool TryGetGoal(
    int vid,
    out Goal goal
)
public:
virtual bool TryGetGoal(
    int vid, 
    [OutAttribute] Goal^% goal
) override
abstract TryGetGoal : 
        vid:int * 
        goal:Goal byref -> bool 
override TryGetGoal : 
        vid:int * 
        goal:Goal byref -> bool 
public override function TryGetGoal(
    vid : int, 
    goal : Goal
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the row identifier is mapped to the goal; otherwise, false.

Exceptions

Exception Condition
NotSupportedException

Any time this method is called.

.NET Framework Security

See Also

Reference

CspSolutionMapping Class

Microsoft.SolverFoundation.Services Namespace