DesignerCategoryAttribute 成员

指定类设计器属于某一类别。

下表列出了由 DesignerCategoryAttribute 类型公开的成员。

公共构造函数

  名称 说明
Public method Supported by the .NET Compact Framework DesignerCategoryAttribute 已重载。初始化 DesignerCategoryAttribute 类的新实例。

页首

公共字段

  名称 说明
Public field Static Supported by the .NET Compact Framework Component 指定标记为此类别的组件使用组件设计器。此字段为只读。
Public field Static Supported by the .NET Compact Framework Default 指定标记为此类别的组件不能使用可视化设计器。此 static 字段是只读的。
Public field Static Supported by the .NET Compact Framework Form 指定标记为此类别的组件使用窗体设计器。此 static 字段是只读的。
Public field Static Supported by the .NET Compact Framework Generic 指定标记为此类别的组件使用一般设计器。此 static 字段是只读的。

页首

公共属性

  名称 说明
Public property Supported by the .NET Compact Framework Category 获取类别名称。
Public property TypeId 已重写。获取此属性的唯一标识符。

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Supported by the .NET Compact Framework Equals 已重载。 已重写。 返回给定对象的值是否等于当前的 DesignOnlyAttribute
Public method Static Supported by the .NET Compact Framework GetCustomAttribute  已重载。 检索应用于程序集、模块、类型成员或方法参数的指定类型的自定义属性。 (从 Attribute 继承。)
Public method Static Supported by the .NET Compact Framework GetCustomAttributes  已重载。 检索应用于程序集、模块、类型成员或方法参数的自定义属性的数组。 (从 Attribute 继承。)
Public method Supported by the .NET Compact Framework GetHashCode 已重写。 返回此实例的哈希代码。
Public method Supported by the .NET Compact Framework GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method IsDefaultAttribute 已重写。 确定此属性是否为默认属性。
Public method Static Supported by the .NET Compact Framework IsDefined  已重载。 确定是否将指定类型的任意自定义属性应用于程序集、模块、类型成员或方法参数。 (从 Attribute 继承。)
Public method Supported by the .NET Compact Framework Match  当在派生类中重写时,返回一个指示此实例是否等于指定对象的值。 (从 Attribute 继承。)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method Supported by the .NET Compact Framework ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Supported by the .NET Compact Framework Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method Supported by the .NET Compact Framework MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)

页首

请参见

参考

DesignerCategoryAttribute 类
System.ComponentModel 命名空间
Attribute
DesignerAttribute 类