Name

XmlAttributeEventArgs — System.Xml.Serialization (system.xml.dll)    class 

Synopsis

public class XmlAttributeEventArgs : EventArgs {
// Public Instance Properties
   public XmlAttribute Attr{get; } 
   public int LineNumber{get; } 
   public int LinePosition{get; } 
   public object ObjectBeingDeserialized{get; } 
}

An object of this type is passed to the XmlAttributeEventHandler callback when an unknown attribute is encountered while deserializing an object from XML. Its Attr property returns the System.Xml.XmlAttribute being deserialized, and its LineNumber and LinePosition properties give more information about the attribute’s location in the XML stream. The ObjectBeingDeserialized property returns the object being deserialized.

Hierarchy

System.ObjectSystem.EventArgsXmlAttributeEventArgs

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.