Name
XmlElementEventArgs — System.Xml.Serialization (system.xml.dll) class
Synopsis
public class XmlElementEventArgs : EventArgs { // Public Instance Properties public XmlElement Element{get; } public int LineNumber{get; } public int LinePosition{get; } public object ObjectBeingDeserialized{get; } }
An object of
this type is passed to the XmlElementEventHandler
callback when an unknown element is encountered while deserializing
an object from XML. Its Element
property returns
the System.Xml.XmlElement
being deserialized, and
its LineNumber
and LinePosition
properties give more information about the element’s
location in the XML stream. The
ObjectBeingDeserialized
property returns the
object being deserialized.
Hierarchy
System.Object
→
System.EventArgs
→
XmlElementEventArgs
Get .NET & XML 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.