DOFTypegetEncoding Method OpenDOF Object Access Library
Get the string encoding for the type.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public virtual int getEncoding()

Return Value

Type: Int32
The encoding specifier as MIB enum.
Remarks

Get the string encoding for the type.

In order to provide a uniform API across platforms, the encoding types come from the IANA character set MIB assignments (MIB enum) found at http://www.iana.org/assignments/character-sets. If the encoding is unknown then the value 2 is returned, consistent with the assignments given at http://www.iana.org/assignments/ianacharset-mib.

See Also

Reference