LocalizablePropertyDescriptionAttribute 类

Provides a localized property description for a property in the property grid. This class cannot be inherited.

继承层次结构

System.Object
  System.Attribute
    System.ComponentModel.DescriptionAttribute
      Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescriptionAttribute

命名空间:  Microsoft.SqlServer.Dts.Runtime.Localization
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
<AttributeUsageAttribute(AttributeTargets.All)> _
Public NotInheritable Class LocalizablePropertyDescriptionAttribute _
    Inherits DescriptionAttribute
用法
Dim instance As LocalizablePropertyDescriptionAttribute
[AttributeUsageAttribute(AttributeTargets.All)]
public sealed class LocalizablePropertyDescriptionAttribute : DescriptionAttribute
[AttributeUsageAttribute(AttributeTargets::All)]
public ref class LocalizablePropertyDescriptionAttribute sealed : public DescriptionAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.All)>]
type LocalizablePropertyDescriptionAttribute =  
    class 
        inherit DescriptionAttribute 
    end
public final class LocalizablePropertyDescriptionAttribute extends DescriptionAttribute

LocalizablePropertyDescriptionAttribute 类型公开以下成员。

构造函数

  名称 说明
公共方法 LocalizablePropertyDescriptionAttribute Initializes a new instance of the LocalizablePropertyDescriptionAttribute class using the specified type and property name.

页首

属性

  名称 说明
公共属性 Description Gets the description associated with the property. (覆盖 DescriptionAttribute.Description。)
公共属性 TypeId (从 Attribute 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 DescriptionAttribute 继承。)
公共方法 GetHashCode (从 DescriptionAttribute 继承。)
公共方法 GetLocalizedValue Gets a String containing the localized value of the LocalizablePropertyDescriptionAttribute.
公共方法 GetType (从 Object 继承。)
公共方法 IsDefaultAttribute (从 DescriptionAttribute 继承。)
公共方法 Match (从 Attribute 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 _Attribute.GetIDsOfNames (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.GetTypeInfo (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.GetTypeInfoCount (从 Attribute 继承。)
显式接口实现私有方法 _Attribute.Invoke (从 Attribute 继承。)

页首

线程安全

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

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Localization 命名空间