_Document.ShowGrammaticalErrors 属性

定义

确定是否在指定文档中用绿色波浪线标记语法错误。Determines if grammatical errors are marked by a wavy green line in the specified document.

public:
 property bool ShowGrammaticalErrors { bool get(); void set(bool value); };
public bool ShowGrammaticalErrors { get; set; }
member this.ShowGrammaticalErrors : bool with get, set
Public Property ShowGrammaticalErrors As Boolean

属性值

Boolean

注解

如果在指定的文档中用绿色波浪线标记语法错误,则此属性返回True ,否则返回FalseThis property returns True if grammatical errors are marked by a wavy green line in the specified document, and False if not. 将属性值设置为TrueFalse可启用或禁用功能。Set the property value to True or False to enable or disable the functionality.

若要查看文档中的语法错误,必须将该 CheckGrammarAsYouType 属性设置为TrueTo view grammatical errors in your document, you must set the CheckGrammarAsYouType property to True.

适用于