Table of Contents

Class EditorBrowsableAttribute

Namespace
System.ComponentModel
Assembly
mscorlib.dll

Specifies that a property or method is viewable in an editor. This class cannot be inherited.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Delegate)]
public sealed class EditorBrowsableAttribute : Attribute
Inheritance
EditorBrowsableAttribute
Inherited Members
Extension Methods

Constructors

EditorBrowsableAttribute()

Initializes a new instance of the EditorBrowsableAttribute class with State set to the default state.

public EditorBrowsableAttribute()

EditorBrowsableAttribute(EditorBrowsableState)

Initializes a new instance of the EditorBrowsableAttribute class with an EditorBrowsableState.

public EditorBrowsableAttribute(EditorBrowsableState state)

Parameters

state EditorBrowsableState

The EditorBrowsableState to set State to.

Properties

State

Gets the browsable state of the property or method.

public EditorBrowsableState State { get; }

Property Value

EditorBrowsableState

An EditorBrowsableState that is the browsable state of the property or method.

Methods

Equals(object)

Returns whether the value of the given object is equal to the current EditorBrowsableAttribute.

public override bool Equals(object obj)

Parameters

obj object

The object to test the value equality of.

Returns

bool

true if the value of the given object is equal to that of the current; otherwise, false.