Options.AutoFormatAsYouTypeInsertClosings Property 

True for Microsoft Word to automatically insert the corresponding memo closing when the user enters a memo heading.

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

Usage

Dim options1 As Options

Dim returnValue As Boolean
returnValue = options1.AutoFormatAsYouTypeInsertClosings

Dim sampleValue As Boolean
options1.AutoFormatAsYouTypeInsertClosings = sampleValue

Syntax

Property AutoFormatAsYouTypeInsertClosings() As Boolean
bool AutoFormatAsYouTypeInsertClosings {get; set;}
property Boolean AutoFormatAsYouTypeInsertClosings{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AutoFormatAsYouTypeInsertClosings();
public void set_AutoFormatAsYouTypeInsertClosings(boolean);
function get AutoFormatAsYouTypeInsertClosings() : Boolean;
function set AutoFormatAsYouTypeInsertClosings(Boolean);

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

Options Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Options Members