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
id
Type: System.StringThe string identifier to parse
throwOnFailure
Type: System.BooleanFlag indicating if the method should throw exceptions or not
resolver
Type: System.Func<Int32, GraphNodeId>Alias resolver
Return Value
Type: Microsoft.VisualStudio.GraphModel.GraphNodeId
The newly parsed GraphNodeId
.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.