XmlSerializationWriter.WriteNullTagEncoded Method

Definition

Instructs XmlNode to write an XML element with an xsi:nil='true' attribute.

Overloads

WriteNullTagEncoded(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Writes an XML element with an xsi:nil='true' attribute.

WriteNullTagEncoded(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Writes an XML element with an xsi:nil='true' attribute.

WriteNullTagEncoded(String)

Writes an XML element with an xsi:nil='true' attribute.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 void WriteNullTagEncoded(System::String ^ name);
protected void WriteNullTagEncoded (string name);
member this.WriteNullTagEncoded : string -> unit
Protected Sub WriteNullTagEncoded (name As String)

Parameters

name
String

The local name of the XML element to write.

Remarks

The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

When set to true, the nil attribute from the XML Schema instance namespace (abbreviated xsi) indicates a null value.

The WriteNullTagEncoded method is called only when writing SOAP-encoded XML, as described in Section 5 of the SOAP 1.1 specification.

WriteNullTagEncoded(String, String)

Writes an XML element with an xsi:nil='true' attribute.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 void WriteNullTagEncoded(System::String ^ name, System::String ^ ns);
protected void WriteNullTagEncoded (string name, string ns);
member this.WriteNullTagEncoded : string * string -> unit
Protected Sub WriteNullTagEncoded (name As String, ns As String)

Parameters

name
String

The local name of the XML element to write.

ns
String

The namespace of the XML element to write.

Remarks

The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

When set to true, the nil attribute from the XML Schema instance namespace (abbreviated xsi) indicates a null value.

The WriteNullTagEncoded method is called only when writing SOAP-encoded XML, as described in Section 5 of the SOAP 1.1 specification.

Applies to