편집

다음을 통해 공유


_Document.GrammaticalErrors Property

Definition

Returns a ProofreadingErrors collection that represents the sentences that failed the grammar check on the specified document or range.

public:
 property Microsoft::Office::Interop::Word::ProofreadingErrors ^ GrammaticalErrors { Microsoft::Office::Interop::Word::ProofreadingErrors ^ get(); };
public Microsoft.Office.Interop.Word.ProofreadingErrors GrammaticalErrors { get; }
member this.GrammaticalErrors : Microsoft.Office.Interop.Word.ProofreadingErrors
Public ReadOnly Property GrammaticalErrors As ProofreadingErrors

Property Value

Remarks

There can be more than one error per sentence.

If there are no grammatical errors, the Count property for the ProofreadingErrors object returned by the GrammaticalErrors property returns 0 (zero).

Applies to