IDTSCustomProperty100.TypeConverter 属性

Gets or sets the type converter for an IDTSCustomProperty100 object.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Property TypeConverter As String 
    Get 
    Set
用法
Dim instance As IDTSCustomProperty100 
Dim value As String 

value = instance.TypeConverter

instance.TypeConverter = value
string TypeConverter { get; set; }
property String^ TypeConverter {
    String^ get ();
    void set (String^ value);
}
abstract TypeConverter : string with get, set
function get TypeConverter () : String 
function set TypeConverter (value : String)

属性值

类型:System.String
The type converter for the IDTSCustomProperty100 object.

注释

The TypeConverter property lets you specify how to convert user-defined types to other data types. One common use is to convert the integer values of an enumeration to the corresponding string for that integer value. When you do this the name of the enumeration is displayed in the property grid instead of the corresponding integer value.

For information on using this property, see "Creating Custom Properties" in 数据流组件的设计时方法.

请参阅

参考

IDTSCustomProperty100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间