XmlSerializationWriter.WriteNullableStringEncodedRaw 方法

定義

將一個位元組陣列寫入 XML 元素的主體。 XmlNode若字串值為 xsi:nil='true',則插入null屬性。

多載

名稱 Description
WriteNullableStringEncodedRaw(String, String, String, XmlQualifiedName)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

寫入一個包含字串作為主體的 XML 元素。 XmlWriter若字串值為 xsi:nil='true',則插入null屬性。

WriteNullableStringEncodedRaw(String, String, Byte[], XmlQualifiedName)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將一個位元組陣列寫入 XML 元素的主體。 XmlWriter若字串值為 xsi:nil='true',則插入null屬性。

WriteNullableStringEncodedRaw(String, String, String, XmlQualifiedName)

來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs

寫入一個包含字串作為主體的 XML 元素。 XmlWriter若字串值為 xsi:nil='true',則插入null屬性。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 void WriteNullableStringEncodedRaw(System::String ^ name, System::String ^ ns, System::String ^ value, System::Xml::XmlQualifiedName ^ xsiType);
protected void WriteNullableStringEncodedRaw(string name, string? ns, string? value, System.Xml.XmlQualifiedName? xsiType);
protected void WriteNullableStringEncodedRaw(string name, string ns, string value, System.Xml.XmlQualifiedName xsiType);
member this.WriteNullableStringEncodedRaw : string * string * string * System.Xml.XmlQualifiedName -> unit
Protected Sub WriteNullableStringEncodedRaw (name As String, ns As String, value As String, xsiType As XmlQualifiedName)

參數

name
String

要寫入的 XML 元素的本地名稱。

ns
String

要寫入的 XML 元素命名空間。

value
String

在 XML 元素主體中寫入的字串。

xsiType
XmlQualifiedName

要寫入 xsi:type 屬性的 XML Schema 資料型別名稱。

備註

XmlSerializationWriter 的受保護成員僅供內部在 .NET Framework XML 序列化基礎架構中使用的衍生類別使用。

當設定為 true時, nil 來自 XML Schema 實例命名空間(縮 xsi寫 )的屬性表示空值。

WriteNullableStringEncodedRaw此方法僅在撰寫 SOAP 編碼的 XML 時被呼叫,詳見 SOAP 1.1 規範第 5 節。

適用於

WriteNullableStringEncodedRaw(String, String, Byte[], XmlQualifiedName)

來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs
來源:
XmlSerializationWriter.cs

將一個位元組陣列寫入 XML 元素的主體。 XmlWriter若字串值為 xsi:nil='true',則插入null屬性。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 void WriteNullableStringEncodedRaw(System::String ^ name, System::String ^ ns, cli::array <System::Byte> ^ value, System::Xml::XmlQualifiedName ^ xsiType);
protected void WriteNullableStringEncodedRaw(string name, string? ns, byte[]? value, System.Xml.XmlQualifiedName? xsiType);
protected void WriteNullableStringEncodedRaw(string name, string ns, byte[] value, System.Xml.XmlQualifiedName xsiType);
member this.WriteNullableStringEncodedRaw : string * string * byte[] * System.Xml.XmlQualifiedName -> unit
Protected Sub WriteNullableStringEncodedRaw (name As String, ns As String, value As Byte(), xsiType As XmlQualifiedName)

參數

name
String

要寫入的 XML 元素的本地名稱。

ns
String

要寫入的 XML 元素命名空間。

value
Byte[]

用位元組陣列寫入 XML 元素的主體。

xsiType
XmlQualifiedName

要寫入 xsi:type 屬性的 XML Schema 資料型別名稱。

備註

XmlSerializationWriter 的受保護成員僅供內部在 .NET Framework XML 序列化基礎架構中使用的衍生類別使用。

當設定為 true時, nil 來自 XML Schema 實例命名空間(縮 xsi寫 )的屬性表示空值。

WriteNullableStringEncodedRaw此方法僅在撰寫 SOAP 編碼的 XML 時被呼叫,詳見 SOAP 1.1 規範第 5 節。

適用於