XmlTextReader.ResolveEntity Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Resolves the entity reference for EntityReference nodes.

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

Public Overrides Sub ResolveEntity

System_CAPS_noteNote

Starting with the .NET Framework 2.0, we recommend that you create XmlReader instances by using the XmlReader.Create method to take advantage of new functionality.

If the reader is positioned on an EntityReference node (XmlNodeType.EntityReference), if Read is called after calling this method, the entity replacement text is parsed. When the entity replacement text is finished, an EndEntity node is returned to close the entity reference scope.

System_CAPS_noteNote

After calling this method, if the entity is part of an attribute value, you must call ReadAttributeValue to step into the entity.

.NET Framework
Available since 1.1
Return to top
Show: