QuickOPC User's Guide and Reference
IsValidInternalValue(Object) Method



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

Parameters

value
The value to be tested.

Return Value

Returns true if the value represents a valid 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.

null is considered a valid internal 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