Performs normalization of the specified string.
Namespace:
Microsoft.Speech.Text
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function Normalize ( _ textToNormalize As String _ ) As NormalizedResult |
Visual Basic (Usage) |
---|
Dim instance As NormalizerCollection Dim textToNormalize As String Dim returnValue As NormalizedResult returnValue = instance.Normalize(textToNormalize) |
C# |
---|
public NormalizedResult Normalize( string textToNormalize ) |
Parameters
- textToNormalize
- Type: System..::..String
The string to normalize.
Return Value
Type: Microsoft.Speech.Text..::..NormalizedResultA NormalizedResult instance that contains the results from the normalization operation.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when textToNormalize is nullNothingnullptrunita null reference (Nothing in Visual Basic) or when its Length property is zero. |