Düzenle

Aracılığıyla paylaş


Range.GrammaticalErrors Property

Definition

Returns a ProofreadingErrors collection that represents the sentences that failed the grammar check on the specified 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