XmlSerializationReader::UnknownAttribute Method (Object^, XmlAttribute^)


This API supports the product infrastructure and is not intended to be used directly from your code.

Raises an UnknownAttribute event for the current position of the XmlReader.

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

void UnknownAttribute(
	Object^ o,
	XmlAttribute^ attr


Type: System::Object^

An object that the XmlSerializer is attempting to deserialize, subsequently accessible through the ObjectBeingDeserialized property.

Type: System.Xml::XmlAttribute^

An XmlAttribute that represents the attribute in question.

The protected members of XmlSerializationReader are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Add a handler method to the UnknownAttribute method to handle unknown attributes while the XmlSerializer is executing its Deserialize method.

.NET Framework
Available since 1.1
Return to top