Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_Document.GrammarChecked Property

Determines if a grammar check has been run on the specified range or document.

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

Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.GrammarChecked

Dim sampleValue As Boolean
_Document1.GrammarChecked = sampleValue

property Boolean GrammarChecked{
	Boolean get();
	Void set(Boolean);
public boolean get_GrammarChecked();
public void set_GrammarChecked(boolean);
function get GrammarChecked() : Boolean;
function set GrammarChecked(Boolean);

This property returns True if a grammar check has been run on the specified range or document, and False if some of the specified range or document hasn't been checked for grammar. Set the property value to True or False to enable or disable the functionality.

To recheck the grammar in a range or document, set the GrammarChecked property to False.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms