DbConnectionStringBuilder.ICustomTypeDescriptor.GetConverter Method

Definition

返回此组件实例的类型转换器。Returns a type converter for this instance of a component.

 virtual System::ComponentModel::TypeConverter ^ System.ComponentModel.ICustomTypeDescriptor.GetConverter() = System::ComponentModel::ICustomTypeDescriptor::GetConverter;
System.ComponentModel.TypeConverter ICustomTypeDescriptor.GetConverter ();
abstract member System.ComponentModel.ICustomTypeDescriptor.GetConverter : unit -> System.ComponentModel.TypeConverter
override this.System.ComponentModel.ICustomTypeDescriptor.GetConverter : unit -> System.ComponentModel.TypeConverter
Function GetConverter () As TypeConverter Implements ICustomTypeDescriptor.GetConverter

Returns

TypeConverter

作为此对象转换器的 TypeConverter,或为 null(如果此对象不存在任何 TypeConverter)。A TypeConverter that is the converter for this object, or null if there is no TypeConverter for this object.

Implements

Remarks

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

有关此成员的说明,请参见 GetConverterFor a description of this member, see GetConverter.

Applies to

See also