Export (0) Print
Expand All

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft