TypeDescriptor.GetConverterFromRegisteredType 方法

定义

重载

GetConverterFromRegisteredType(Object)

获取指定组件的类型的类型转换器。

GetConverterFromRegisteredType(Type)

获取指定注册类型的类型转换器。

GetConverterFromRegisteredType(Object)

获取指定组件的类型的类型转换器。

public:
 static System::ComponentModel::TypeConverter ^ GetConverterFromRegisteredType(System::Object ^ component);
public static System.ComponentModel.TypeConverter GetConverterFromRegisteredType (object component);
static member GetConverterFromRegisteredType : obj -> System.ComponentModel.TypeConverter
Public Shared Function GetConverterFromRegisteredType (component As Object) As TypeConverter

参数

component
Object

返回

适用于

GetConverterFromRegisteredType(Type)

获取指定注册类型的类型转换器。

public:
 static System::ComponentModel::TypeConverter ^ GetConverterFromRegisteredType(Type ^ type);
public static System.ComponentModel.TypeConverter GetConverterFromRegisteredType (Type type);
static member GetConverterFromRegisteredType : Type -> System.ComponentModel.TypeConverter
Public Shared Function GetConverterFromRegisteredType (type As Type) As TypeConverter

参数

type
Type

返回

适用于