OPC Studio User's Guide and Reference
FindSymbolName Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Extensions Namespace > UACodeBitsExtension Class : FindSymbolName Method
Code bits to be looked up.
Symbol name that corresponds to numerical value.

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

Looks up a symbolic string assigned to well-known code bits combination.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function FindSymbolName( _
   ByVal codeBits As UACodeBits, _
   ByRef symbolName As String _
) As Boolean
'Usage
 
Dim codeBits As UACodeBits
Dim symbolName As String
Dim value As Boolean
 
value = UACodeBitsExtension.FindSymbolName(codeBits, symbolName)
[Extension()]
public static bool FindSymbolName( 
   UACodeBits codeBits,
   out string symbolName
)
[Extension()]
public:
static bool FindSymbolName( 
   UACodeBits codeBits,
   [Out] String^ symbolName
) 

Parameters

codeBits
Code bits to be looked up.
symbolName
Symbol name that corresponds to numerical value.

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

Return Value

True if there is a symbol name for the value, and symbolName has been filled with corresponding string; false otherwise.
Remarks

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

This is an extension method (info: C#, VB.NET). In languages that have support for extensions methods (such as C# and VB.NET), you can use the extension method as if it were a regular method on the object that is its first parameter. In other languages (such as with Python.NET), you will call the extension as a static method, and pass it the object on which it acts as its first parameter.

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