Redigera

Dela via


CultureInfoIetfLanguageTagConverter.CanConvertTo Method

Definition

Determines whether CultureInfoIetfLanguageTagConverter can convert to a given type.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameters

typeDescriptorContext
ITypeDescriptorContext

The ITypeDescriptorContext value.

destinationType
Type

The Type being queried for conversion support.

Returns

true if CultureInfoIetfLanguageTagConverter can convert; otherwise, false.

Applies to