Export (0) Print
Expand All

XmlWriter.WriteWhitespace Method

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

[Visual Basic]
Public MustOverride Sub WriteWhitespace( _
   ByVal ws As String _
)
[C#]
public abstract void WriteWhitespace(
 string ws
);
[C++]
public: virtual void WriteWhitespace(
 String* ws
) = 0;
[JScript]
public abstract function WriteWhitespace(
   ws : String
);

Parameters

ws
The string of white space characters.

Exceptions

Exception Type Condition
ArgumentException The string contains non-white space characters.

Remarks

This method is used to manually format your document.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlWriter Class | XmlWriter Members | System.Xml Namespace

Show:
© 2015 Microsoft