XmlReader.CanResolveEntity Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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


Public Overridable ReadOnly Property CanResolveEntity As Boolean
public virtual bool CanResolveEntity { get; }

Property Value

Type: System..::.Boolean
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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


XmlReader Class

System.Xml Namespace