OPC Studio User's Guide and Reference
Flatten Method (_UABrowsePath)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Navigation.ComTypes Namespace > _UABrowsePath Interface : Flatten Method
Computes an equivalent browse path whose starting node descriptor has a node Id, if possible.
Syntax
'Declaration
 
<NotNullAttribute()>
<PureAttribute()>
Function Flatten() As UABrowsePath
'Usage
 
Dim instance As _UABrowsePath
Dim value As UABrowsePath
 
value = instance.Flatten()
[NotNull()]
[Pure()]
UABrowsePath Flatten()
[NotNull()]
[Pure()]
UABrowsePath^ Flatten(); 

Return Value

Returns an equivalent browse path whose starting node descriptor has a node Id, if possible.

Because there is an implicit conversion from OpcLabs.EasyOpc.UA.Navigation.UABrowsePath to OpcLabs.EasyOpc.UA.UANodeDescriptor, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.UA.Navigation.UABrowsePath in any place where the OpcLabs.EasyOpc.UA.UANodeDescriptor is expected as input, and the corresponding node descriptor will be constructed automatically.

This method never returns null (Nothing in Visual Basic).

Remarks

This method is pure, i.e. it does not have observable side effects.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also