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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Adiciones de comunidad

AGREGAR
Mostrar: