XmlWriter.WriteStartAttribute Method (String, 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 and namespace URI.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- localName
- Type: System.String
The local name of the attribute.
- ns
- Type: System.String
The namespace URI of the attribute.
This is a more advanced version of WriteAttributeString that allows you to write an attribute value using multiple write methods, such as WriteString, WriteQualifiedName, and so on.
Show: