XmlUtil.GetXsiTypeAsQualifiedName(XmlReader) Method

Definition

Gets the xsi:type as a XmlQualifiedName for the current element.

public static System.Xml.XmlQualifiedName GetXsiTypeAsQualifiedName (System.Xml.XmlReader reader);
static member GetXsiTypeAsQualifiedName : System.Xml.XmlReader -> System.Xml.XmlQualifiedName
Public Shared Function GetXsiTypeAsQualifiedName (reader As XmlReader) As XmlQualifiedName

Parameters

reader
XmlReader

an XmlReaderpointing at an Element.

Returns

a XmlQualifiedNameif the current element has an XSI type. If reader is not on an element OR xsi type is not found, null.

Exceptions

if reader is null.

Applies to