Share via


TaxonomyItem.NormalizeName method

Normalizes a name of a TaxonomyItem object.

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

Syntax

'Declaration
Public Shared Function NormalizeName ( _
    context As ClientRuntimeContext, _
    name As String _
) As ClientResult(Of String)
'Usage
Dim context As ClientRuntimeContext
Dim name As String
Dim returnValue As ClientResult(Of String)

returnValue = TaxonomyItem.NormalizeName(context, _
    name)
public static ClientResult<string> NormalizeName(
    ClientRuntimeContext context,
    string name
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<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

TaxonomyItem class

TaxonomyItem members

Microsoft.SharePoint.Client.Taxonomy namespace