Edit

Share via


XmlSerializationWriter.WriteEmptyTag Method

Definition

Writes an XML element whose body is empty.

Overloads

WriteEmptyTag(String)

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

Writes an XML element whose body is empty.

WriteEmptyTag(String, String)

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

Writes an XML element whose body is empty.

WriteEmptyTag(String)

Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs

Writes an XML element whose body is empty.

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

protected:
 void WriteEmptyTag(System::String ^ name);
protected void WriteEmptyTag (string? name);
protected void WriteEmptyTag (string name);
member this.WriteEmptyTag : string -> unit
Protected Sub WriteEmptyTag (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.

Applies to

WriteEmptyTag(String, String)

Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs
Source:
XmlSerializationWriter.cs

Writes an XML element whose body is empty.

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

protected:
 void WriteEmptyTag(System::String ^ name, System::String ^ ns);
protected void WriteEmptyTag (string? name, string? ns);
protected void WriteEmptyTag (string name, string ns);
member this.WriteEmptyTag : string * string -> unit
Protected Sub WriteEmptyTag (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.

Applies to