ExtensionDescriptionAttribute 类

表示扩展说明特性。

继承层次结构

System.Object
  System.Attribute
    System.ComponentModel.DisplayNameAttribute
      Microsoft.Data.Schema.Extensibility.ExtensionDescriptionAttribute

命名空间:  Microsoft.Data.Schema.Extensibility
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, Inherited := False,  _
    AllowMultiple := False)> _
Public Class ExtensionDescriptionAttribute _
    Inherits DisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, Inherited = false, 
    AllowMultiple = false)]
public class ExtensionDescriptionAttribute : DisplayNameAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, Inherited = false, 
    AllowMultiple = false)]
public ref class ExtensionDescriptionAttribute : public DisplayNameAttribute
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, Inherited = false, 
    AllowMultiple = false)>]
type ExtensionDescriptionAttribute =  
    class
        inherit DisplayNameAttribute
    end
public class ExtensionDescriptionAttribute extends DisplayNameAttribute

ExtensionDescriptionAttribute 类型公开以下成员。

构造函数

  名称 说明
公共方法 ExtensionDescriptionAttribute 初始化 ExtensionDescriptionAttribute 类的新实例。

页首

属性

  名称 说明
公共属性 Description 获取或设置说明。
公共属性 DisplayName 获取属性、事件或不采用此特性中存储的任何参数的公共 void 方法的显示名称。 (继承自 DisplayNameAttribute。)
受保护的属性 DisplayNameValue 获取或设置显示名称。 (继承自 DisplayNameAttribute。)
公共属性 Publisher 获取或设置发布者。
公共属性 TypeId 当在派生类中实现时,获取该 Attribute 的唯一标识符。 (继承自 Attribute。)

页首

方法

  名称 说明
公共方法 Equals 确定两个 DisplayNameAttribute 实例是否相等。 (继承自 DisplayNameAttribute。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 返回此实例的哈希代码。 (继承自 DisplayNameAttribute。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 IsDefaultAttribute 确定此特性是否为默认特性。 (继承自 DisplayNameAttribute。)
公共方法 Match 当在派生类中重写时,返回一个指示此实例是否等于指定对象的值。 (继承自 Attribute。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 _Attribute.GetIDsOfNames 将一组名称映射为对应的一组调度标识符。 (继承自 Attribute。)
显式接口实现私有方法 _Attribute.GetTypeInfo 检索对象的类型信息,然后可以使用该信息获取接口的类型信息。 (继承自 Attribute。)
显式接口实现私有方法 _Attribute.GetTypeInfoCount 检索对象提供的类型信息接口的数量(0 或 1)。 (继承自 Attribute。)
显式接口实现私有方法 _Attribute.Invoke 提供对某一对象公开的属性和方法的访问。 (继承自 Attribute。)

页首

备注

此特性用于指定友好名称、发行商、说明或有关扩展接口或类型的其他说明信息。 此特性可以绑定到扩展接口或扩展类型类。 此特性中为扩展指定的信息将在“设置”页中用于扩展。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.Extensibility 命名空间