Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies that a property or method is viewable in an editor. This class cannot be inherited.
Inheritance Hierarchy
System. . :: . .Object
System. . :: . .Attribute
System.ComponentModel..::..EditorBrowsableAttribute
Namespace: System.ComponentModel
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Enum Or AttributeTargets.Constructor Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Event Or AttributeTargets.Interface Or AttributeTargets.Delegate)> _
Public NotInheritable Class EditorBrowsableAttribute _
Inherits Attribute
[AttributeUsageAttribute(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
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Struct|AttributeTargets::Enum|AttributeTargets::Constructor|AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field|AttributeTargets::Event|AttributeTargets::Interface|AttributeTargets::Delegate)]
public ref class EditorBrowsableAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Delegate)>]
type EditorBrowsableAttribute =
class
inherit Attribute
end
public final class EditorBrowsableAttribute extends Attribute
The EditorBrowsableAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
EditorBrowsableAttribute() () () () | Initializes a new instance of the EditorBrowsableAttribute class. |
![]() |
EditorBrowsableAttribute(EditorBrowsableState) | Initializes a new instance of the EditorBrowsableAttribute class with the specified state. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
State | Gets the browsable state of the property or method. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the value of the given object is equal to the current object. (Overrides Object. . :: . .Equals(Object).) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.