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
- text
Type: System.String
Return Value
Type: System.String
Returns String.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace