Export (0) Print
Expand All

XmlWriter.WriteStartElement Method

When overridden in a derived class, writes the specified start tag.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library WriteStartElement(String) When overridden in a derived class, writes out a start tag with the specified local name.
Public method Supported by the XNA Framework Supported by Portable Class Library WriteStartElement(String, String) When overridden in a derived class, writes the specified start tag and associates it with the given namespace.
Public method Supported by the XNA Framework Supported by Portable Class Library WriteStartElement(String, String, String) When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix.
Top

Exception Condition
InvalidOperationException

An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”

For the asynchronous version of this method, see WriteStartElementAsync.

Show:
© 2015 Microsoft