แก้ไข

แชร์ผ่าน


TypeDescriptor.GetConverterFromRegisteredType Method

Definition

Overloads

GetConverterFromRegisteredType(Object)

Gets a type converter for the type of the specified component.

GetConverterFromRegisteredType(Type)

Gets a type converter for the specified registered type.

GetConverterFromRegisteredType(Object)

Gets a type converter for the type of the specified component.

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

Parameters

component
Object

A component to get the converter for.

Returns

A TypeConverter for the specified component.

Applies to

GetConverterFromRegisteredType(Type)

Gets a type converter for the specified registered 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

Parameters

type
Type

The Type of the target component.

Returns

A TypeConverter for the specified type.

Applies to