FirstLetterExceptions.Add Method 

Returns a FirstLetterException 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 FirstLetterException
Dim firstLetterExceptions1 As FirstLetterExceptions
returnValue = firstLetterExceptions1.Add(Name)

Syntax

Function Add( _
    <InAttribute()> ByVal Name As String _
) As FirstLetterException
FirstLetterException Add(
    [In] string Name
);
public: FirstLetterException^ Add(
    String^ Name
);
public FirstLetterException Add(
    /*in*/System.String Name
);
function Add(
     Name : String
) : FirstLetterException;

Parameters

  • Name
    Required String. The abbreviation that you don't want Microsoft Word to follow with a capital letter.

Remarks

If the FirstLetterAutoAdd property is True, abbreviations are automatically added to the list of first-letter 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

FirstLetterExceptions Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

FirstLetterExceptions Members