Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlNodeEventArgs::ObjectBeingDeserialized Property

 

Gets the object being deserialized.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public:
property Object^ ObjectBeingDeserialized {
	Object^ get();
}

Property Value

Type: System::Object^

The Object being deserialized.

The following example prints the value returned by the ToString method when the Deserialize method encounters an unknown XML node.

private:
   void serializer_UnknownNode( Object^ /*sender*/, XmlNodeEventArgs^ e )
   {
      Object^ o = e->ObjectBeingDeserialized;
      Console::WriteLine( "Object being deserialized: {0}", o );
   }

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft