HangulAndAlphabetExceptions.Add Method
Returns a HangulAndAlphabetException object that represents a new exception to the list of AutoCorrect exceptions.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Add ( _
Name As String _
) As HangulAndAlphabetException
'Usage
Dim instance As HangulAndAlphabetExceptions
Dim Name As String
Dim returnValue As HangulAndAlphabetException
returnValue = instance.Add(Name)
HangulAndAlphabetException Add(
string Name
)
Parameters
- Name
Type: System.String
Required String. The word that you don't want Microsoft Word to correct automatically.
Return Value
Type: Microsoft.Office.Interop.Word.HangulAndAlphabetException
Remarks
If the HangulAndAlphabetAutoAdd property is set to True, words are automatically added to the list of Hangul and alphabet AutoCorrect exceptions.
See Also
Reference
HangulAndAlphabetExceptions Interface