'Declaration
<CanBeNullAttribute()> Function TryParseRelative( _ ByVal value As String, _ ByVal browsePathElementCollection As Object _ ) As StringParsingError
'Usage
Dim instance As _UABrowsePathParser Dim value As String Dim browsePathElementCollection As Object Dim value As StringParsingError value = instance.TryParseRelative(value, browsePathElementCollection)
[CanBeNull()] StringParsingError TryParseRelative( string value, object browsePathElementCollection )
[CanBeNull()] StringParsingError^ TryParseRelative( String^ value, Object^ browsePathElementCollection )
Parameters
- value
- The string containing the relative browse path to be parsed.
The value of this parameter can be
null
(Nothing
in Visual Basic). - browsePathElementCollection
- OpcLabs.EasyOpc.UA.Navigation.UABrowsePathElementCollection. If successful, an original collection of browse path elements, expanded by elements corresponding to the input string.
Because the OpcLabs.EasyOpc.UA.Navigation.UABrowsePathElementCollection has an implicit conversion from OpcLabs.EasyOpc.UA.AddressSpace.UAQualifiedNameCollection, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use a OpcLabs.EasyOpc.UA.AddressSpace.UAQualifiedNameCollection (containing a sequence of qualified names, assumed to form a relative browse path using "any hierarchical" forward references) in place of this parameter, and the corresponding OPC UA browse path element collection will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the FromUAQualifiedNameCollection static method instead.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).The individual elements of the parameter value cannot be
null
(Nothing
in Visual Basic).
Return Value
null
if successful; otherwise, some OpcLabs.BaseLib.IStringParsingError indicating the reason of the failure.
This method can return null
(Nothing
in Visual Basic).