ParenthesizePropertyNameAttribute.NeedParenthesis 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值指示属性窗口是否在属性窗口的括号中显示属性的名称。
public:
property bool NeedParenthesis { bool get(); };
public bool NeedParenthesis { get; }
member this.NeedParenthesis : bool
Public ReadOnly Property NeedParenthesis As Boolean
属性值
true 如果属性用括号显示,则为否则,为 false.