TaxonomyItem.NormalizeName Method (Microsoft.SharePoint.Taxonomy)

Switch View :
ScriptFree
TaxonomyItem.NormalizeName Method

Normalizes a name of a TaxonomyItem object.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax

Visual Basic (Declaration)
Public Shared Function NormalizeName ( _
	name As String _
) As String
Visual Basic (Usage)
Dim name As String
Dim returnValue As String

returnValue = TaxonomyItem.NormalizeName(name)
C#
public static string NormalizeName(
	string name
)

Parameters

name
Type: System.String
The name to normalize

Return Value

Type: System.String
The normalized name
Remarks

The name will be normalized to trim consecutive spaces into one and replace the & character with the wide character version of the character (\uFF06).

See Also

Reference