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

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.

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

'Declaration
Public Sub WriteStartAttribute ( _
	localName As String, _
	ns As String _
)

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft