Delen via


GraphNodeId.Parse Method (String, Boolean, Func<Int32, GraphNodeId>)

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

Parse 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, _
    resolver As Func(Of Integer, GraphNodeId) _
) As GraphNodeId
public static GraphNodeId Parse(
    string id,
    bool throwOnFailure,
    Func<int, GraphNodeId> resolver
)
public:
static GraphNodeId^ Parse(
    String^ id, 
    bool throwOnFailure, 
    Func<int, GraphNodeId^>^ resolver
)
static member Parse : 
        id:string * 
        throwOnFailure:bool * 
        resolver:Func<int, GraphNodeId> -> GraphNodeId
public static function Parse(
    id : String, 
    throwOnFailure : boolean, 
    resolver : Func<int, GraphNodeId>
) : GraphNodeId

Parameters

  • throwOnFailure
    Type: System.Boolean

    Flag indicating if the method should throw exceptions or not

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