共用方式為


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetConverter 方法

擷取指定之物件的型別轉換子。

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

語法

'宣告
Private Function GetConverter As TypeConverter
    Implements ICustomTypeDescriptor.GetConverter
TypeConverter ICustomTypeDescriptor.GetConverter()
private:
virtual TypeConverter^ GetConverter() sealed = ICustomTypeDescriptor::GetConverter
private abstract GetConverter : unit -> TypeConverter 
private override GetConverter : unit -> TypeConverter 
JScript 不支援明確介面實作。

傳回值

型別:System.ComponentModel.TypeConverter
TypeConverter 執行個體為指定的物件或 nullNull 參照 (即 Visual Basic 中的 Nothing) ,如果沒有這個物件的 TypeConverter 。

實作

ICustomTypeDescriptor.GetConverter()

備註

當方法傳回 nullNull 參照 (即 Visual Basic 中的 Nothing)時,請使用預設 TypeConverter。

這個方法 GetConverter 提供方法的實作。 如需詳細資訊,請參閱 .NET Framework 類別庫 (Class Library GetConverter 方法。

.NET Framework 安全性

請參閱

參考

AdoDotNetConnectionProperties 類別

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空間