NodeId.TryParse(String, NodeId) 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.
Converts the string representation of a node ID to its NodeId object equivalent. A return value indicates whether the operation succeeded.
public static bool TryParse (string from, out System.Fabric.NodeId parsedNodeId);
static member TryParse : string * NodeId -> bool
Public Shared Function TryParse (from As String, ByRef parsedNodeId As NodeId) As Boolean
Parameters
- from
- String
A string containing the node ID to convert.
- parsedNodeId
- NodeId
When this method returns, contains a new NodeId object equivalent to the node ID contained in from
,
if the conversion succeeded, or null
if the conversion failed. This parameter is passed uninitialized.
Returns
A boolean indicating if the parse was successful
Applies to
Azure SDK for .NET