XmlNodeEventArgs Class
Provides data for the UnknownNode event.
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | LineNumber | Gets the line number of the unknown XML node. |
![]() | LinePosition | Gets the position in the line of the unknown XML node. |
![]() | LocalName | Gets the XML local name of the XML node being deserialized. |
![]() | Name | Gets the name of the XML node being deserialized. |
![]() | NamespaceURI | Gets the namespace URI that is associated with the XML node being deserialized. |
![]() | NodeType | Gets the type of the XML node being deserialized. |
![]() | ObjectBeingDeserialized | Gets the object being deserialized. |
![]() | Text | Gets the text of the XML node being deserialized. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
For more information about handling events, see NIB: Consuming Events.
The UnknownNode event can occur only when you call the Deserialize method.
The following example uses the UnknownNode event of the XmlSerializer to print various properties of an unknown XML node that is encountered when calling the XmlSerializer class's Deserialize method.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


