Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HtmlTextWriter::Write Method (String^, Object^)

 

Writes a tab string and a formatted string to the output stream, using the same semantics as the String::Format method, along with any pending tab spacing.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
virtual void Write(
	String^ format,
	Object^ arg0
) override

Parameters

format
Type: System::String^

A string that contains zero or more format items.

arg0
Type: System::Object^

An object to format.

The Write method generates any tabs that are pending, and then calls the Write base method.

The following code example shows how to use the Write method to render a formatted string with the value of the CurrentCulture property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft