'Declaration
<ExtensionAttribute()> <CanBeNullAttribute()> Public Shared Function TryParse( _ ByVal nodeIdParser As IUANodeIdParser, _ ByVal s As String, _ ByRef nodeId As UANodeId _ ) As IStringParsingError
'Usage
Dim nodeIdParser As IUANodeIdParser Dim s As String Dim nodeId As UANodeId Dim value As IStringParsingError value = IUANodeIdParserExtension.TryParse(nodeIdParser, s, nodeId)
[Extension()] [CanBeNull()] public static IStringParsingError TryParse( IUANodeIdParser nodeIdParser, string s, out UANodeId nodeId )
[Extension()] [CanBeNull()] public: static IStringParsingError^ TryParse( IUANodeIdParser^ nodeIdParser, String^ s, [Out] UANodeId^ nodeId )
Parameters
- nodeIdParser
- The OPC-UA node Id parser.
This is typically the OpcLabs.EasyOpc.UA.AddressSpace.Parsing.UANodeIdParser object.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - s
- Expanded text of the node Id.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - nodeId
- A OpcLabs.EasyOpc.UA.AddressSpace.UANodeId object. The converted node Id object.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
null
if s was converted successfully; otherwise, returns an error object that describes the problem.
This method can return null
(Nothing
in Visual Basic).