Mono Class Library: System.Xml.XmlWriter Overview | Members

System.Xml.XmlWriter.WriteWhitespace Method

Writes the given white space.

public abstract void WriteWhitespace (string ws)

Parameters

ws
A string containing the white space characters.

Exceptions

TypeReason
ArgumentExceptionws is null or string.Empty or contains non-white space characters.
InvalidOperationExceptionThe XmlWriter.WriteState is WriteState.Closed.

Remarks

Operation
As described above.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0