This documentation is archived and is not being maintained.

HtmlTextWriter.SpaceChar Field

Represents a space character.

[Visual Basic]
Public Const SpaceChar As Char
[C#]
public const char SpaceChar;
[C++]
public: const __wchar_t SpaceChar;
[JScript]
public var SpaceChar : Char;

Example

[Visual Basic] 
' Write a space to the tag.
writer.Write(HtmlTextWriter.SpaceChar)

[C#] 
// Write a space to the tag.
    writer.Write(HtmlTextWriter.SpaceChar);

[C++, JScript] No example is available for C++ or JScript. To view a Visual Basic or C# example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HtmlTextWriter Class | HtmlTextWriter Members | System.Web.UI Namespace

Show: