Condividi tramite


GraphNodeId.Parse Method (String, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Parses a string into a GraphNodeId.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Shared Function Parse ( _
    id As String, _
    throwOnFailure As Boolean _
) As GraphNodeId
public static GraphNodeId Parse(
    string id,
    bool throwOnFailure
)
public:
static GraphNodeId^ Parse(
    String^ id, 
    bool throwOnFailure
)
static member Parse : 
        id:string * 
        throwOnFailure:bool -> GraphNodeId
public static function Parse(
    id : String, 
    throwOnFailure : boolean
) : GraphNodeId

Parameters

  • throwOnFailure
    Type: System.Boolean

    Flag indicating whether the method should throw exceptions.

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNodeId
The newly parsed GraphNodeId.

.NET Framework Security

See Also

Reference

GraphNodeId Class

Parse Overload

Microsoft.VisualStudio.GraphModel Namespace