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 屬性讓你能指定如何將使用者自訂型態轉換成其他資料型態。 一個常見用途是將列舉的整數值轉換為該整數值對應的字串。 這樣做時,屬性格子中會顯示列舉名稱,而非對應的整數值。
關於使用此屬性的資訊,請參閱 Data Flow 元件設計時方法中的「建立自訂屬性」。