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)
Usage
Dim Name As String
Dim returnValue As TwoInitialCapsException
Dim twoInitialCapsExceptions1 As TwoInitialCapsExceptions
returnValue = twoInitialCapsExceptions1.Add(Name)
Syntax
Function Add( _
<InAttribute()> ByVal Name As String _
) As TwoInitialCapsException
TwoInitialCapsException Add(
[In] string Name
);
public: TwoInitialCapsException^ Add(
String^ Name
);
public TwoInitialCapsException Add(
/*in*/System.String Name
);
function Add(
Name : String
) : TwoInitialCapsException;
Parameters
- Name
Required String. The abbreviation that you don't want Microsoft Word to follow with a capital letter.
Remarks
If the TwoInitialCapsAutoAdd property is True, words are automatically added to the list of initial-capital exceptions.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
TwoInitialCapsExceptions Interface
Microsoft.Office.Interop.Word Namespace