DataConnectionProperties.ICustomTypeDescriptor.GetConverter 方法

检索指定对象的类型转换器。

命名空间:  Microsoft.VisualStudio.Data
程序集:  Microsoft.VisualStudio.Data(在 Microsoft.VisualStudio.Data.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 返回 TypeConverter 适合于指定的对象或返回 nullnull 引用(在 Visual Basic 中为 Nothing)。

实现

ICustomTypeDescriptor.GetConverter()

备注

在方法返回 nullnull 引用(在 Visual Basic 中为 Nothing)情况下,请使用默认 TypeConverter。此方法提供 GetConverter 方法的实现。有关更多信息在 .NET Framework 选件类库中看到 GetConverter 方法。

.NET Framework 安全性

请参见

参考

DataConnectionProperties 类

Microsoft.VisualStudio.Data 命名空间