取得物件指定型別的 TypeConverter。
命名空間: Microsoft.VisualBasic
組件: System (在 system.dll 中)
語法
'宣告
Public Overrides Function GetConverter ( _
type As Type _
) As TypeConverter
'用途
Dim instance As VBCodeProvider
Dim type As Type
Dim returnValue As TypeConverter
returnValue = instance.GetConverter(type)
public override TypeConverter GetConverter (
Type type
)
public:
virtual TypeConverter^ GetConverter (
Type^ type
) override
public TypeConverter GetConverter (
Type type
)
public override function GetConverter (
type : Type
) : TypeConverter
參數
- type
物件的類型,要為其擷取型別轉換子。
傳回值
指定型別的 TypeConverter。
備註
衍生類別可覆寫這個方法,以提供型別轉換子的特定型別給特定的資料型別。
平台
Windows 98、 Windows 2000 SP4、 Windows Millennium Edition、 Windows Server 2003、 Windows XP Media Center Edition、 Windows XP Professional x64 Edition、 Windows XP SP2、 Windows XP Starter Edition
.NET Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱系統需求一節的內容。
版本資訊
.NET Framework
支援版本:2.0、1.1、1.0
請參閱
參考
VBCodeProvider 類別
VBCodeProvider 成員
Microsoft.VisualBasic 命名空間