OpcEncoding Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

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

C#

public class OpcEncoding : IEquatable<OpcEncoding>


Inheritance Object › OpcEncoding


Implements IEquatable<OpcEncoding>

Name Description
DefaultBinary Gets 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.
DefaultXml Gets 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.
Id Gets the identifier of the node which refers to a specific OpcEncodingType (defined by Type) used to encode information.
Namespace Gets the namespace within the encoding has been defined. This can be the same namespace as referenced by data type dictioanries using their NamespaceUri property.
Type Gets a value which identifies the underlying logic used to encode information.
Name Description
All(OpcNodeId) Retrieves for each supported OpcEncodingType a new OpcEncoding while each uses the id specified.
All(OpcNodeId, OpcNamespace) Retrieves for each supported OpcEncodingType a new OpcEncoding while each uses the id and encodingNamespace specified.
Binary(OpcEncoding) Selects the first OpcEncoding in encodings which defines an encoding which uses the OpcEncodingTypeBinary as the logic used to encode data.
Binary(OpcNodeId) Retrieves a new OpcEncoding which uses the id specified to define an encoding which uses the logic used for binary data encoding.
Binary(OpcNodeId, OpcNamespace) Retrieves a new OpcEncoding which uses the id and encodingNamespace specified to define an encoding which uses the logic used for binary data encoding.
Default(OpcEncodingType) Retrieves the according default OpcEncoding which is used for the encodingType specified.
Equals(Object) Determines whether the specified other is equal to this OpcEncoding.
Equals(OpcEncoding) Determines whether the specified other is equal to this OpcEncoding.
GetHashCode Retrieves a hash code for this OpcEncoding.
GetType(String) Determines the expressed type of encoding using the information encoded in the encodingName specified.
Of(OpcEncodingType, OpcEncoding) Selects the first OpcEncoding in encodings which defines an encoding which uses the encodingType specified as the logic used to encode data.
ToString Returns a string representing the encoding described.
Xml(OpcEncoding) Selects the first OpcEncoding in encodings which defines an encoding which uses the OpcEncodingTypeXml as the logic used to encode data.
Xml(OpcNodeId) Retrieves a new OpcEncoding which uses the id specified to define an encoding which uses the logic used for XML data encoding.
Xml(OpcNodeId, OpcNamespace) Retrieves a new OpcEncoding which uses the id and encodingNamespace specified to define an encoding which uses the logic used for XML data encoding.
Name Description
op_Equality(OpcEncoding, OpcEncoding) Returns a value indicating whether two instance of OpcEncoding are equal.
op_Inequality(OpcEncoding, OpcEncoding) Returns a value indicating whether two instances of OpcEncoding are not equal.