System.Xml.XmlWriter.WriteStartAttribute Method

Writes the start of an attribute with the specified local name.

Syntax

public void WriteStartAttribute (string localName)

Parameters

localName
The local name of the attribute.

Remarks

This method enables you to write a value using multiple Write methods.

For the asynchronous version of this method, see XmlWriter.WriteStartAttributeAsync(string).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0