'Declaration
<CanBeNullAttribute()> Function TryParse( _ ByVal s As String, _ ByVal requireNamespace As Boolean, _ ByRef nodeId As UANodeId _ ) As IStringParsingError
'Usage
Dim instance As IUANodeIdParser Dim s As String Dim requireNamespace As Boolean Dim nodeId As UANodeId Dim value As IStringParsingError value = instance.TryParse(s, requireNamespace, nodeId)
[CanBeNull()] IStringParsingError TryParse( string s, bool requireNamespace, out UANodeId nodeId )
[CanBeNull()] IStringParsingError^ TryParse( String^ s, bool requireNamespace, [Out] UANodeId^ nodeId )
Parameters
- s
- Expanded text of the node Id.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - requireNamespace
- Determines whether the node Id must contain a namespace or namespace index.
- 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).