共用方式為


DataViewPropertyDescriptor.SetConverterType 方法 (String)

TypeConverterAttribute,使用指定的型別名稱做為屬性描述項的資料轉換子。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Public Sub SetConverterType ( _
    value As String _
)
public void SetConverterType(
    string value
)
public:
void SetConverterType(
    String^ value
)
member SetConverterType : 
        value:string -> unit
public function SetConverterType(
    value : String
)

參數

  • value
    類型:String

    使用類別的完整名稱做為這個屬性描述項的資料轉換。

備註

提供資料轉換的類別必須是繼承自 TypeConverter

.NET Framework 安全性

請參閱

參考

DataViewPropertyDescriptor 類別

SetConverterType 多載

Microsoft.VisualStudio.Data.Framework 命名空間