Share via


AutoCorrect.TwoInitialCapsAutoAdd Property 

Returns or sets a value that indicates whether to automatically add words to the list of AutoCorrect Initial Caps exceptions.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim autoCorrect1 As AutoCorrect

Dim returnValue As Boolean
returnValue = autoCorrect1.TwoInitialCapsAutoAdd

Dim sampleValue As Boolean
autoCorrect1.TwoInitialCapsAutoAdd = sampleValue

Syntax

Property TwoInitialCapsAutoAdd() As Boolean
bool TwoInitialCapsAutoAdd {get; set;}
property Boolean TwoInitialCapsAutoAdd{
    Boolean get();
    Void set(Boolean);
}
public boolean get_TwoInitialCapsAutoAdd();
public void set_TwoInitialCapsAutoAdd(boolean);
function get TwoInitialCapsAutoAdd() : Boolean;
function set TwoInitialCapsAutoAdd(Boolean);

Remarks

A word is added to this list if you delete and then retype the uppercase letter (following the initial uppercase letter) that Microsoft Word changed to lowercase.

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

AutoCorrect Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

AutoCorrect Members