Export (0) Print
Expand All

XmlReader.CanResolveEntity Property

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

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

Property Value

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

Remarks

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

Requirements

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

Show:
© 2014 Microsoft