System.Xml.XmlReader.CanReadBinaryContent Property

Gets a value indicating whether the System.Xml.XmlReader implements the binary content read methods.

Syntax

public virtual bool CanReadBinaryContent { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The binary content read methods include the XmlReader.ReadContentAsBase64(Byte[], int, int), XmlReader.ReadContentAsBinHex(Byte[], int, int), XmlReader.ReadElementContentAsBase64(Byte[], int, int), and XmlReader.ReadElementContentAsBinHex(Byte[], int, int) methods. If this property returns false a NotSupportedException is returned when any of the binary read methods is called.

All Microsoft .NET Framework implementations of the System.Xml.XmlReader class return true for this property.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0