'Declaration
<CanBeNullAttribute()> Function TryParse( _ ByVal s As String, _ ByVal requireNamespace As Boolean, _ ByRef nodeId As Object _ ) As StringParsingError
'Usage
Dim instance As _UANodeIdParser Dim s As String Dim requireNamespace As Boolean Dim nodeId As Object Dim value As StringParsingError value = instance.TryParse(s, requireNamespace, nodeId)
[CanBeNull()] StringParsingError TryParse( string s, bool requireNamespace, out object nodeId )
[CanBeNull()] StringParsingError^ TryParse( String^ s, bool requireNamespace, [Out] Object^ nodeId )
Parameters
- s
- Expanded text of the node Id.
The value of this parameter can 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).