This documentation is archived and is not being maintained.

XmlReader.CanResolveEntity Property

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

[Visual Basic]
Public Overridable ReadOnly Property CanResolveEntity As Boolean
public virtual bool CanResolveEntity {get;}
public: __property virtual bool get_CanResolveEntity();
public function get CanResolveEntity() : Boolean;

Property Value

true if the reader can parse and resolve entities; otherwise, false.


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace