Expand Minimize

XmlWriter.WriteWhitespace Method

When overridden in a derived class, writes out the given white space.

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

public abstract void WriteWhitespace(
	string ws
)

Parameters

ws
Type: System.String
The string of white space characters.

ExceptionCondition
ArgumentException

The string contains non-white space characters.

This method is used to manually format your document.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft