'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.
- 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.