'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.
- 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.
Return Value
Returns
null
if s was converted successfully; otherwise, returns an error object that describes the problem.