XmlSerializationReader.ReadTypedNull(XmlQualifiedName) 方法

定義

讀取允許 Null 值 (xsi:nil = 'true') 的 XML 項目,並傳回泛型 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 目前位置的簡單資料類型。

傳回

泛型 Nullable<T>,其代表 Null XML 值。

適用於