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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPublisherId Class : IsValidExternalValue(Object) Method
The value to be tested.
Determines whether an object represents a valid external value of a publisher Id.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidExternalValue( _
   ByVal value As Object _
) As Boolean
'Usage
 
Dim value As Object
Dim value As Boolean
 
value = UAPublisherId.IsValidExternalValue(value)
[Pure()]
public static bool IsValidExternalValue( 
   object value
)
[Pure()]
public:
static bool IsValidExternalValue( 
   Object^ value
) 

Parameters

value
The value to be tested.

Return Value

Returns true if the value represents a valid external value of a publisher Id; returns false otherwise.
Remarks

External value is a CLS-compliant value used e.g. when accessing the publisher ID over OpcLabs.EasyOpc.UA.IEasyUAClient. It is System.Byte, System.Int32, System.Int64, System.Decimal, System.String, or null.

null is considered a valid external value.

A zero number or an empty string are invalid external values.

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