Skip to content

Reference

OpcRawObject Class

Represents the value of a structured data type which could not be decoded, as its sender encoded it.

Reference

OpcRawObject Class ​

since v2.58

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcRawObject Members
Also in
Opc.UaFx.Client

Represents the value of a structured data type which could not be decoded, as its sender encoded it.

Syntax ​

csharp
public sealed class OpcRawObject
vbnet
Public NotInheritable Class OpcRawObject

Inheritance ​

Object → OpcRawObject

Remarks ​

A value is provided as an OpcRawObject if its data type is not known to decode it, for example if a client does not resolve the data types of the server. Use Decode to decode the value once its type is known.

Writing an OpcRawObject as a value passes it on unchanged in the Encoding it was received in.

Properties ​

NameDescription
EncodingGets the encoding in which the value is encoded.
RawDataGets the encoded value.

Methods ​

NameDescription
DecodeDecodes the RawData as the T defined.
GetTypeInfoGets the OpcDataTypeInfo of the data type of the value represented.
ToStringoverrideReturns a string representing the Encoding of the current OpcRawObject.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.58–v2.59