OPC Studio User's Guide and Reference
Literal(Object) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > Literal Method : Literal(Object) Method
A literal value.

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

Creates a new literal operand, with given value.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Literal( _
   ByVal value As Object _
) As UALiteralOperand
'Usage
 
Dim value As Object
Dim value As UALiteralOperand
 
value = UAFilterElements.Literal(value)
[NotNull()]
public static UALiteralOperand Literal( 
   object value
)
[NotNull()]
public:
static UALiteralOperand^ Literal( 
   Object^ value
) 

Parameters

value
A literal value.

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

Return Value

The created operand.

This method never returns null (Nothing in Visual Basic).

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