.NET Framework Class Library
XmlReader.CanResolveEntity Property

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

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

Visual Basic (Declaration)
Public Overridable ReadOnly Property CanResolveEntity As Boolean
Visual Basic (Usage)
Dim instance As XmlReader
Dim value As Boolean

value = instance.CanResolveEntity
C#
public virtual bool CanResolveEntity { get; }
C++
public:
virtual property bool CanResolveEntity {
    bool get ();
}
J#
/** @property */
public boolean 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.

Platforms

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0
See Also

Tags :


Page view tracker