'Declaration
Public Function TryParse( _ ByVal s As String, _ ByVal requireNamespace As Boolean, _ ByRef nodeId As UANodeId _ ) As IStringParsingError
'Usage
Dim instance As UANodeIdParser Dim s As String Dim requireNamespace As Boolean Dim nodeId As UANodeId Dim value As IStringParsingError value = instance.TryParse(s, requireNamespace, nodeId)
public IStringParsingError TryParse( string s, bool requireNamespace, out UANodeId nodeId )
public: 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.