OtherCorrectionsExceptions.Add Method
Returns a OtherCorrectionsException, object that represents a new exception added 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 OtherCorrectionsException
'Usage
Dim instance As OtherCorrectionsExceptions
Dim Name As String
Dim returnValue As OtherCorrectionsException
returnValue = instance.Add(Name)
OtherCorrectionsException Add(
string Name
)
Parameters
- Name
Type: System.String
Required String. The word you want Microsoft Word to overlook.
Return Value
Type: Microsoft.Office.Interop.Word.OtherCorrectionsException
Remarks
If the OtherCorrectionsAutoAdd property is True, words are automatically added to the list of other corrections exceptions.
See Also
Reference
OtherCorrectionsExceptions Interface