WriteStartAttribute Method (String)
Collapse the table of content
Expand the table of content

XmlWriter.WriteStartAttribute Method (String)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public void WriteStartAttribute(
	string localName


Type: System.String
The local name of the attribute.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft