EntityHandling Enumeration
Specifies how entities are handled.
[Visual Basic] <Serializable> Public Enum EntityHandling [C#] [Serializable] public enum EntityHandling [C++] [Serializable] __value public enum EntityHandling [JScript] public Serializable enum EntityHandling
Members
| Member name | Description |
|---|---|
| ExpandCharEntities Supported by the .NET Compact Framework. | Expands character entities and returns general entities as nodes (NodeType equals XmlNodeType.EntityReference, Name equals the name of the entity, and HasValue equals false).
You must call ResolveEntity to see what the general entities expand to. This enables you to optimize entity handling by only expanding the entity the first time it is used. When set to ExpandCharEntities, a reader call to the GetAttribute method expands all entities (both general and character entities). |
| ExpandEntities Supported by the .NET Compact Framework. | Expands all entities. This is the default.
Entity reference nodes (NodeType equals XmlNodeType.EntityReference) are not returned. The entity text is expanded in place of the entity references. |
Requirements
Namespace: System.Xml
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Xml (in System.Xml.dll)