Name
XmlNodeEventArgs — System.Xml.Serialization (system.xml.dll) class
Synopsis
public class XmlNodeEventArgs : EventArgs { // Public Instance Properties public int LineNumber{get; } public int LinePosition{get; } public string LocalName{get; } public string Name{get; } public string NamespaceURI{get; } public XmlNodeType NodeType{get; } public object ObjectBeingDeserialized{get; } public string Text{get; } }
An object of
this type is passed to the XmlNodeEventHandler
callback when an unknown node is encountered while deserializing an
object from XML. Its Name
,
LocalName
, and NamespaceURI
properties return the name, local name, and namespace URI of the
node, respectively, and the NodeType
property
returns its System.Xml.XmlNodeType
. The
Text
property returns the text of the XML node, if
any. The LineNumber
and
LinePosition
properties give more information
about the node’s location in the XML stream. The
ObjectBeingDeserialized
property returns the
object being deserialized.
Hierarchy
System.Object
→
System.EventArgs
→
XmlNodeEventArgs
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.