TwoInitialCapsExceptions.Add Method
Returns a TwoInitialCapsExceptions 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 TwoInitialCapsException
'Usage
Dim instance As TwoInitialCapsExceptions
Dim Name As String
Dim returnValue As TwoInitialCapsException
returnValue = instance.Add(Name)
TwoInitialCapsException Add(
string Name
)
Parameters
- Name
Type: System.String
Required String. The abbreviation that you don't want Microsoft Word to follow with a capital letter.
Return Value
Type: Microsoft.Office.Interop.Word.TwoInitialCapsException
Remarks
If the TwoInitialCapsAutoAdd property is True, words are automatically added to the list of initial-capital exceptions.
See Also
Reference
TwoInitialCapsExceptions Interface