DekGenius.com
[ Team LiB ] Previous Section Next Section

XmlElementEventArgsSystem.Xml.Serialization (system.xml.dll)    class 

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

    [ Team LiB ] Previous Section Next Section