OPC Studio User's Guide and Reference
GetNewNodeNameBase Method (UAServerNode)



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UAServerNode Class : GetNewNodeNameBase Method
The type of the node for which the node name base should be determined.

The value of this parameter cannot be null (Nothing in Visual Basic).

Infrastructure.
Syntax
'Declaration
 
Public Overrides Function GetNewNodeNameBase( _
   ByVal nodeType As Type _
) As String
'Usage
 
Dim instance As UAServerNode
Dim nodeType As Type
Dim value As String
 
value = instance.GetNewNodeNameBase(nodeType)
public override string GetNewNodeNameBase( 
   Type nodeType
)
public:
String^ GetNewNodeNameBase( 
   Type^ nodeType
) override 

Parameters

nodeType
The type of the node for which the node name base should be determined.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

Returns the name base for new nodes of nodeType type.

This method can return null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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