MemberDescriptor.IsBrowsable 属性

定义

获取一个指示该成员是否可浏览的值,如 BrowsableAttribute 中所指定的。Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute.

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

属性值

如果成员可以浏览,则为 true;否则为 falsetrue if the member is browsable; otherwise, false. 如果没有 BrowsableAttribute,则将属性值设置为默认值 trueIf there is no BrowsableAttribute, the property value is set to the default, which is true.

注解

可视化设计器通常显示在属性窗口中可浏览的成员。A visual designer typically displays the members that are browsable in the Properties window.

适用于

另请参阅