HangulAndAlphabetExceptions.Add Method 

Returns a HangulAndAlphabetException object that represents a new exception 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 HangulAndAlphabetException
Dim hangulAndAlphabetExceptions1 As HangulAndAlphabetExceptions
returnValue = hangulAndAlphabetExceptions1.Add(Name)

Syntax

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

Parameters

  • Name
    Required String. The word that you don't want Microsoft Word to correct automatically.

Remarks

If the HangulAndAlphabetAutoAdd property is set to True, words are automatically added to the list of Hangul and alphabet AutoCorrect 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

HangulAndAlphabetExceptions Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

HangulAndAlphabetExceptions Members