Windows Dev Center

XmlDictionaryWriter.WriteStartElement Method (XmlDictionaryString, XmlDictionaryString)

Writes the specified start element and associates it with the given namespace.

Namespace:  System.Xml
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.

ExceptionCondition
InvalidOperationException

The writer is closed.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft