Skip to content

Reference

OpcEncoding Class

Identifies how data is encoded on the wire and therefore describes in which way information is serialized or deserialized.

Reference

OpcEncoding Class ​

since v2.8

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

Identifies how data is encoded on the wire and therefore describes in which way information is serialized or deserialized.

Syntax ​

csharp
public class OpcEncoding
vbnet
Public Class OpcEncoding

Inheritance ​

Object → OpcEncoding

Implements ​

Properties ​

NameDescription
DefaultBinarystaticGets the foundation defined encoding used by default to encode information using the binary representation (known as 'OPC UA Binary') of the information to serialize or deserialize.
DefaultXmlstaticGets the foundation defined encoding used by default to encode information using a XML-based serialization format (known as 'OPC UA XML') to serialize or deserialize information.
IdGets the identifier of the node which refers to a specific OpcEncodingType (defined by Type) used to encode information.
NamespaceGets the namespace within the encoding has been defined.
TypeGets a value which identifies the underlying logic used to encode information.

Methods ​

NameDescription
Allstatic · 2 overloadsRetrieves for each supported OpcEncodingType a new OpcEncoding while each uses the id specified.
Binarystatic · 3 overloadsRetrieves a new OpcEncoding which uses the id specified to define an encoding which uses the logic used for binary data encoding.
DefaultstaticRetrieves the according default OpcEncoding which is used for the encodingType specified.
Emptystatic · since v2.50Returns an empty array of the type OpcEncoding.
Equals2 overloadsDetermines whether the specified other is equal to this OpcEncoding.
GetHashCodeoverrideRetrieves a hash code for this OpcEncoding.
GetTypestatic · since v2.9Determines the expressed type of encoding using the information encoded in the encodingName specified.
OfstaticSelects the first OpcEncoding in encodings which defines an encoding which uses the encodingType specified as the logic used to encode data.
ToStringoverrideReturns a string representing the encoding described.
Xmlstatic · 3 overloadsRetrieves a new OpcEncoding which uses the id specified to define an encoding which uses the logic used for XML data encoding.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two instance of OpcEncoding are equal.
InequalitystaticReturns a value indicating whether two instances of OpcEncoding are not equal.

Applies to ​

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