Connectivity Software User's Guide and Reference
Flatten<TNodeDescriptor> Method (NodeDescriptor)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > NodeDescriptor Class : Flatten<TNodeDescriptor> Method
Computes an equivalent node descriptor that is flattened.
Syntax
'Declaration
 
<JetBrains.Annotations.MustUseReturnValueAttribute()>
<JetBrains.Annotations.NotNullAttribute()>
<JetBrains.Annotations.PureAttribute()>
Protected Function Flatten(Of TNodeDescriptor As {New, NodeDescriptor})() As TNodeDescriptor
'Usage
 
Dim instance As NodeDescriptor
Dim value As TNodeDescriptor
 
value = instance.Flatten(Of TNodeDescriptor)()
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.NotNull()]
[JetBrains.Annotations.Pure()]
protected TNodeDescriptor Flatten<TNodeDescriptor>()
where TNodeDescriptor: new(), NodeDescriptor
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.NotNull()]
[JetBrains.Annotations.Pure()]
protected:
TNodeDescriptor^ Flattengeneric<typename TNodeDescriptor>
(); 
where TNodeDescriptor: gcnew(), NodeDescriptor

Type Parameters

TNodeDescriptor

Return Value

Returns an equivalent node descriptor browse path is flattened.

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

This return value of this method should not be ignored.

Remarks

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

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