OPC Studio User's Guide and Reference
FindCodeBits Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UACodeBits Class : FindCodeBits Method
Symbol name for the code bits.
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 Integer _
) As Boolean
'Usage
 
Dim symbolName As String
Dim codeBits As Integer
Dim value As Boolean
 
value = UACodeBits.FindCodeBits(symbolName, codeBits)
public static bool FindCodeBits( 
   string symbolName,
   out int codeBits
)
public:
static bool FindCodeBits( 
   String^ symbolName,
   [Out] int codeBits
) 

Parameters

symbolName
Symbol name for the code bits.
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