Name

EntityHandling

Synopsis

This enumeration defines how entities are expanded. ExpandCharEntities expands only character entities, returning the entity text, while general entities are returned as nodes. ExpandEntities expands all entities; this is the default.

public enum EntityHandling {
   ExpandEntities = 1,
   ExpandCharEntities = 2
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) EntityHandling

Returned By

XmlValidatingReader.EntityHandling

Passed To

XmlValidatingReader.EntityHandling

XmlNode and related types

Figure 44-1. XmlNode and related types

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.