Any suggestions? Export (0) Print
Expand All

XmlWriter.WriteStartAttribute Method

 

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

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodWriteStartAttribute(String)

Writes the start of an attribute with the specified local name.

System_CAPS_pubmethodWriteStartAttribute(String, String)

Writes the start of an attribute with the specified local name and namespace URI.

System_CAPS_pubmethodWriteStartAttribute(String, String, String)

When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI.

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 Overload:System.Xml.XmlWriter.WriteStartAttributeAsync.

Return to top
Show:
© 2016 Microsoft