DtsLocalizableAttribute 类
Provides localization support by populating the DisplayName and Description properties from an embedded resource file.
继承层次结构
System.Object
System.Attribute
Microsoft.SqlServer.Dts.Pipeline.Localization.DtsLocalizableAttribute
Microsoft.SqlServer.Dts.Pipeline.DtsPipelineComponentAttribute
命名空间: Microsoft.SqlServer.Dts.Pipeline.Localization
程序集: Microsoft.SqlServer.PipelineHost(在 Microsoft.SqlServer.PipelineHost.dll 中)
语法
声明
Public MustInherit Class DtsLocalizableAttribute _
Inherits Attribute
用法
Dim instance As DtsLocalizableAttribute
public abstract class DtsLocalizableAttribute : Attribute
public ref class DtsLocalizableAttribute abstract : public Attribute
[<AbstractClassAttribute>]
type DtsLocalizableAttribute =
class
inherit Attribute
end
public abstract class DtsLocalizableAttribute extends Attribute
DtsLocalizableAttribute 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DtsLocalizableAttribute | Initializes a new instance of the DtsLocalizableAttribute class. |
页首
属性
名称 | 说明 | |
---|---|---|
Description | Gets or sets the description of the DtsLocalizableAttribute. | |
DisplayName | Gets or sets the display name of the DtsLocalizableAttribute. | |
LocalizationType | Gets or sets the class that supplies values for the DtsLocalizableAttribute. | |
TypeId | (从 Attribute 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Attribute 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Attribute 继承。) | |
GetType | (从 Object 继承。) | |
IsDefaultAttribute | (从 Attribute 继承。) | |
Match | (从 Attribute 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
_Attribute.GetIDsOfNames | (从 Attribute 继承。) | |
_Attribute.GetTypeInfo | (从 Attribute 继承。) | |
_Attribute.GetTypeInfoCount | (从 Attribute 继承。) | |
_Attribute.Invoke | (从 Attribute 继承。) |
页首
注释
DtsLocalizableAttribute is an abstract class that provides support for populating the DisplayName and Description properties of the DtsPipelineComponent attribute.
Developers writing custom dataflow components use the functionality of this class by setting the LocalizationType property to the type of the resource class that contains the resources for the component. This class should contain two properties, named ComponentDisplayName and ComponentDescription, that correspond to the localized string resources.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。