XmlSerializationReader.ReadTypedNull(XmlQualifiedName) 方法

定义

读取允许 null 值的 XML 元素(xsi:nil = 'true')并返回泛型 Nullable<T> 值。

此 API 支持产品基础结构,不能在代码中直接使用。

protected:
 System::Object ^ ReadTypedNull(System::Xml::XmlQualifiedName ^ type);
protected object? ReadTypedNull(System.Xml.XmlQualifiedName type);
protected object ReadTypedNull(System.Xml.XmlQualifiedName type);
member this.ReadTypedNull : System.Xml.XmlQualifiedName -> obj
Protected Function ReadTypedNull (type As XmlQualifiedName) As Object

参数

type
XmlQualifiedName

表示 XmlQualifiedName 当前位置的 XmlReader简单数据类型。

返回

表示 NULL XML 值的泛型 Nullable<T>

适用于