IDTSCustomProperty100.TypeConverter 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置对象的 IDTSCustomProperty100 类型转换器。
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 属性允许你指定如何将用户自定义类型转换为其他数据类型。 一个常见用途是将枚举的整数值转换为该整数值对应的字符串。 这样做时,属性网格中会显示枚举名称,而不是对应的整数值。
有关如何使用该属性的信息,请参见 数据流 组件设计时方法中的“创建自定义属性”。