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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPublisherId Class : FromExternalValue(Object) Method
External value of the publisher Id identifier.
Converts an external value into a publisher Id.
Syntax
'Declaration
 
<NotNullAttribute()>
<PureAttribute()>
Public Shared Function FromExternalValue( _
   ByVal externalValue As Object _
) As UAPublisherId
'Usage
 
Dim externalValue As Object
Dim value As UAPublisherId
 
value = UAPublisherId.FromExternalValue(externalValue)
[NotNull()]
[Pure()]
public static UAPublisherId FromExternalValue( 
   object externalValue
)
[NotNull()]
[Pure()]
public:
static UAPublisherId^ FromExternalValue( 
   Object^ externalValue
) 

Parameters

externalValue
External value of the publisher Id identifier.

Return Value

Returns a publisher Id with the specified external value.
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.

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