XmlDictionaryWriter.WriteStartElement Method (XmlDictionaryString, XmlDictionaryString)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes the specified start element and associates it with the given namespace.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
public void WriteStartElement( XmlDictionaryString localName, XmlDictionaryString namespaceUri )
Parameters
- localName
- Type: System.Xml.XmlDictionaryString
The local name of the element.
- namespaceUri
- Type: System.Xml.XmlDictionaryString
The namespace URI of the element.
| Exception | Condition |
|---|---|
| InvalidOperationException | The writer is closed. |
Show: