DB2®Xml.GetBytes Method

Returns a UTF-8 byte array representing the contents of the DB2Xml object instance in binary format for XML columns.

Namespace:
IBM.Data.DB2Types
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Function GetBytes() As Byte()
[C#]
public byte[] GetBytes();
[C++]
public: array<unsigned char> GetBytes();
[JScript]
public function GetBytes() : byte[];

Return value

The value of the specified column as a byte array in binary format.