XmlWriter::WriteStartAttribute Method
.NET Framework (current version)
When overridden in a derived class, writes the start of an attribute.
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | WriteStartAttribute(String^) | Writes the start of an attribute with the specified local name. |
![]() | WriteStartAttribute(String^, String^) | Writes the start of an attribute with the specified local name and namespace URI. |
![]() | 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. |
| 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.
Show:
