Share via


ParenthesizePropertyNameAttribute.NeedParenthesis 属性

定义

获取一个值,该值指示在“属性”窗口中显示属性的名称时是否带有括号。

public:
 property bool NeedParenthesis { bool get(); };
public bool NeedParenthesis { get; }
member this.NeedParenthesis : bool
Public ReadOnly Property NeedParenthesis As Boolean

属性值

如果属性显示时带有括号,则为 true;否则为 false

适用于