System.Xml.XmlReader.CanResolveEntity Property

Gets a value indicating whether this reader can parse and resolve entities.

Syntax

public virtual bool CanResolveEntity { get; }

Value

A bool equal to false.

Remarks

This property always returns false for implementations of System.Xml.XmlReader that do not support DTD information. In this case, calling XmlReader.ResolveEntity throws an exception.

Requirements

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