XmlWriter.WriteStartElement Method (String, String, String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- prefix
- Type: System.String
The namespace prefix of the element.
- localName
- Type: System.String
The local name of the element.
- ns
- Type: System.String
The namespace URI to associate with the element.
| Exception | Condition |
|---|---|
| InvalidOperationException | The writer is closed. |
Show: