Name
UnreferencedObjectEventArgs — System.Xml.Serialization (system.xml.dll) class
Synopsis
public class UnreferencedObjectEventArgs : EventArgs { // Public Constructors public UnreferencedObjectEventArgs( object o, string id); // Public Instance Properties public string UnreferencedId{get; } public object UnreferencedObject{get; } }
This type is
sent as a parameter to the
UnreferencedObjectEventHandler
when an
unreferenced object is detected in the XML stream. Its
UnreferencedId
property contains the
id
attribute of the unreferenced object, the its
UnreferencedObject
property contains the actual
unreferenced object, which can be cast to its known type if you wish
to examine its properties directly.
Hierarchy
System.Object
→
System.EventArgs
→
UnreferencedObjectEventArgs
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.