OPC Studio User's Guide and Reference
FindCodeBits Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Utilities Namespace > UACodeBitsUtilities Class : FindCodeBits Method
Symbol name for the code bits.

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

Code bits that correspond to the symbol.
Looks up a numeric value for symbolic string assigned to well-known code bits combination.
Syntax
'Declaration
 
Public Shared Function FindCodeBits( _
   ByVal symbolName As String, _
   ByRef codeBits As UACodeBits _
) As Boolean
'Usage
 
Dim symbolName As String
Dim codeBits As UACodeBits
Dim value As Boolean
 
value = UACodeBitsUtilities.FindCodeBits(symbolName, codeBits)
public static bool FindCodeBits( 
   string symbolName,
   out UACodeBits codeBits
)
public:
static bool FindCodeBits( 
   String^ symbolName,
   [Out] UACodeBits codeBits
) 

Parameters

symbolName
Symbol name for the code bits.

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

codeBits
Code bits that correspond to the symbol.

Return Value

True if the symbol has been found, and codeBits filled with corresponding value; false otherwise
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