System.Web.UI.Adapters.PageAdapter.TransformText Method

Transforms text for the target browser.

Syntax

public virtual string TransformText (string text)

Parameters

text
A string that is the text to transform.

Returns

A string that contains the transformed text.

Remarks

The PageAdapter.TransformText(string) method can be used, for example, to transform tab characters (\t) into line breaks (\n).

The PageAdapter.TransformText(string) base method returns text unchanged.

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0