IDTSCustomProperty100.TypeConverter 属性

定义

public:
 property System::String ^ TypeConverter { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.InteropServices.DispId(104)]
public string TypeConverter { [System.Runtime.InteropServices.DispId(104)] get; [System.Runtime.InteropServices.DispId(104)] set; }
[<System.Runtime.InteropServices.DispId(104)>]
[<get: System.Runtime.InteropServices.DispId(104)>]
[<set: System.Runtime.InteropServices.DispId(104)>]
member this.TypeConverter : string with get, set
Public Property TypeConverter As String

属性值

IDTSCustomProperty100 对象的类型转换器。

属性

注解

TypeConverter 属性可用于指定如何将用户定义类型转换为其他数据类型。 一个常见的用途是将枚举的整数值转换为该整数值的相应字符串。 执行此操作时,枚举的名称将显示在属性网格中,而不是相应的整数值。

有关使用此属性的信息,请参阅 数据流 组件的设计时方法中的“创建自定义属性”。

适用于