Share via


HtmlControl.NormalizeText Method

Normalizes text by removing trailing/leading spaces and making line breaks consistent.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.ControlsCore (in Microsoft.TeamFoundation.WorkItemTracking.ControlsCore.dll)

Syntax

'Declaration
Protected Shared Function NormalizeText ( _
    text As String _
) As String
protected static string NormalizeText(
    string text
)
protected:
static String^ NormalizeText(
    String^ text
)
static member NormalizeText : 
        text:string -> string
protected static function NormalizeText(
    text : String
) : String

Parameters

Return Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

HtmlControl Class

Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace