XmlWriter.WriteRaw Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, writes raw markup manually.

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

NameDescription
System_CAPS_pubmethodWriteRaw(Char[], Int32, Int32)

When overridden in a derived class, writes raw markup manually from a character buffer.

System_CAPS_pubmethodWriteRaw(String)

When overridden in a derived class, writes raw markup manually from a string.

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 WriteRawAsync.

Return to top
Show: