System.Xml.Serialization.XmlSerializationReader.ToByteArrayHex Method

Instructs the System.Xml.XmlReader to read the string value at its current position and return it as a hexadecimal byte array.

Syntax

protected byte[] ToByteArrayHex (bool isNull)

Parameters

isNull
true to return null; false to return a hexadecimal byte array.

Returns

A hexadecimal byte array; otherwise, null if the value of the isNull parameter is true.

Remarks

The protected members of System.Xml.Serialization.XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0