Share via


Style.AutomaticallyUpdate Property 

True if the style is automatically redefined based on the selection. False if Microsoft Word prompts for confirmation before redefining the style based on the selection. Read/write Boolean.

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

Usage

Dim style1 As Style

Dim returnValue As Boolean
returnValue = style1.AutomaticallyUpdate

Dim sampleValue As Boolean
style1.AutomaticallyUpdate = sampleValue

Syntax

Property AutomaticallyUpdate() As Boolean
bool AutomaticallyUpdate {get; set;}
property Boolean AutomaticallyUpdate{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AutomaticallyUpdate();
public void set_AutomaticallyUpdate(boolean);
function get AutomaticallyUpdate() : Boolean;
function set AutomaticallyUpdate(Boolean);

Remarks

A style can be redefined when it is applied to a selection that has the same style but different manual formatting.

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

Style Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Style Members