XmlSerializationReader.GetXsiType Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Gets the value of the xsi:type attribute for the XML element at the current location of the XmlReader.

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

protected XmlQualifiedName GetXsiType()

Return Value

Type: System.Xml.XmlQualifiedName

An XML qualified name that indicates the data type of an XML element.

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

The type attribute from the instance of the XML Schema namespace explicitly specifies the data type of an XML element.

.NET Framework
Available since 1.1
Available since 2.0
Return to top