OPC Studio User's Guide and Reference
MakeString Method (UACodeBits)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UACodeBits Class : MakeString Method
Code bits to be expressed in a string.
Expresses the code bits in a string.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function MakeString( _
   ByVal codeBits As Integer _
) As String
'Usage
 
Dim codeBits As Integer
Dim value As String
 
value = UACodeBits.MakeString(codeBits)
[NotNull()]
public static string MakeString( 
   int codeBits
)
[NotNull()]
public:
static String^ MakeString( 
   int codeBits
) 

Parameters

codeBits
Code bits to be expressed in a string.

Return Value

Returns the symbol name for the code bits, if it exists. Otherwise, returns a hexadecimal representation of the value.
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