QuickOPC User's Guide and Reference
FromUANodeElement Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UANodeDescriptor Class : FromUANodeElement Method
The node element to be converted.
Converts a OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement to a node descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Shared Function FromUANodeElement( _
   ByVal nodeElement As IUANodeElement _
) As UANodeDescriptor
'Usage
 
Dim nodeElement As IUANodeElement
Dim value As UANodeDescriptor
 
value = UANodeDescriptor.FromUANodeElement(nodeElement)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public static UANodeDescriptor FromUANodeElement( 
   IUANodeElement nodeElement
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
static UANodeDescriptor^ FromUANodeElement( 
   IUANodeElement^ nodeElement
) 

Parameters

nodeElement
The node element to be converted.

Return Value

For a non-null input, returns the node descriptor converted from the give node element. Returns null if the input is null.
Remarks

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