This topic has not yet been rated - Rate this topic

XmlWriter.WriteStartAttribute Method

When overridden in a derived class, writes the start of an attribute.

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 WriteStartAttribute(String) Writes the start of an attribute with the specified local name.
Public method WriteStartAttribute(String, String) Writes the start of an attribute with the specified local name and namespace URI.
Public method WriteStartAttribute(String, String, String) When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI.
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 WriteStartAttributeAsync.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.