GraphNodeId.Parse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Parse(String) |
Parse a string into a GraphNodeId |
Parse(String, Boolean) |
Parse a string into a GraphNodeId |
Parse(String, Boolean, Func<Int32,GraphNodeId>) |
Parse a string into a GraphNodeId |
Parse(String)
Parse a string into a GraphNodeId
public:
static Microsoft::VisualStudio::GraphModel::GraphNodeId ^ Parse(System::String ^ id);
public static Microsoft.VisualStudio.GraphModel.GraphNodeId Parse (string id);
static member Parse : string -> Microsoft.VisualStudio.GraphModel.GraphNodeId
Public Shared Function Parse (id As String) As GraphNodeId
Parameters
- id
- String
The string to parse into a GraphNodeId
Returns
The GraphNodeId created from the given string
Applies to
Parse(String, Boolean)
Parse a string into a GraphNodeId
public:
static Microsoft::VisualStudio::GraphModel::GraphNodeId ^ Parse(System::String ^ id, bool throwOnFailure);
public static Microsoft.VisualStudio.GraphModel.GraphNodeId Parse (string id, bool throwOnFailure);
static member Parse : string * bool -> Microsoft.VisualStudio.GraphModel.GraphNodeId
Public Shared Function Parse (id As String, throwOnFailure As Boolean) As GraphNodeId
Parameters
- id
- String
The string identifier to parse
- throwOnFailure
- Boolean
Flag indicating if the method should throw exceptions or not
Returns
The newly parsed GraphNodeId
Applies to
Parse(String, Boolean, Func<Int32,GraphNodeId>)
Parse a string into a GraphNodeId
public:
static Microsoft::VisualStudio::GraphModel::GraphNodeId ^ Parse(System::String ^ id, bool throwOnFailure, Func<int, Microsoft::VisualStudio::GraphModel::GraphNodeId ^> ^ resolver);
public static Microsoft.VisualStudio.GraphModel.GraphNodeId Parse (string id, bool throwOnFailure, Func<int,Microsoft.VisualStudio.GraphModel.GraphNodeId> resolver);
static member Parse : string * bool * Func<int, Microsoft.VisualStudio.GraphModel.GraphNodeId> -> Microsoft.VisualStudio.GraphModel.GraphNodeId
Public Shared Function Parse (id As String, throwOnFailure As Boolean, resolver As Func(Of Integer, GraphNodeId)) As GraphNodeId
Parameters
- id
- String
The string identifier to parse
- throwOnFailure
- Boolean
Flag indicating if the method should throw exceptions or not
- resolver
- Func<Int32,GraphNodeId>
Alias resolver
Returns
The newly parsed GraphNodeId