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)

Syntax

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.

Remarks

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

Platforms

Windows Phone

See Also

Reference

XmlReader Class

System.Xml Namespace