OPC Studio User's Guide and Reference
IsNumericInternalValue Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPublisherId Class : IsNumericInternalValue Method
The value to be tested.

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

Determines whether an object can represent a numeric internal value of a publisher Id.
Syntax
'Declaration
 
<CLSCompliantAttribute(False)>
<PureAttribute()>
Public Shared Function IsNumericInternalValue( _
   ByVal value As Object _
) As Boolean
'Usage
 
Dim value As Object
Dim value As Boolean
 
value = UAPublisherId.IsNumericInternalValue(value)
[CLSCompliant(false)]
[Pure()]
public static bool IsNumericInternalValue( 
   object value
)
[CLSCompliant(false)]
[Pure()]
public:
static bool IsNumericInternalValue( 
   Object^ value
) 

Parameters

value
The value to be tested.

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

Return Value

Returns true if the value can represent a numeric internal value of a publisher Id; returns false otherwise.
Remarks

Internal value is used in the OPC-UA PubSub specification, not CLS-compliant. It is System.Byte, System.UInt16, System.UInt32, System.UInt64, System.String, or null.

This method is pure, i.e. it does not have observable side effects.

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