XmlSerializationWriter.WriteNullableStringEncodedRaw 方法

定义

将字节数组写入 XML 元素的正文。 XmlNode如果字符串的值为 xsi:nil='true'.,则插入属性null

重载

名称 说明
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)

Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
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 架构数据类型的名称。

注解

XmlSerializationWriter的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

设置为 /> 时, XML 架构实例命名空间(缩写) 中的属性指示 null 值。

WriteNullableStringEncodedRaw仅在编写 SOAP 编码的 XML 时调用该方法,如 SOAP 1.1 规范的第 5 节中所述。

适用于

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

Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
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 架构数据类型的名称。

注解

XmlSerializationWriter的受保护成员仅供在 .NET Framework XML 序列化基础结构内部使用的派生类使用。

设置为 /> 时, XML 架构实例命名空间(缩写) 中的属性指示 null 值。

WriteNullableStringEncodedRaw仅在编写 SOAP 编码的 XML 时调用该方法,如 SOAP 1.1 规范的第 5 节中所述。

适用于