XmlSerializationWriter.WriteNullTagEncoded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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 |
WriteNullTagEncoded(String)
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
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);
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.
Applies to
WriteNullTagEncoded(String, String)
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
- Source:
- XmlSerializationWriter.cs
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);
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.