편집

다음을 통해 공유


CultureInfoIetfLanguageTagConverter.CanConvertFrom Method

Definition

Determines whether CultureInfoIetfLanguageTagConverter can convert from a given type.

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

Parameters

typeDescriptorContext
ITypeDescriptorContext

The ITypeDescriptorContext value.

sourceType
Type

The Type being queried for conversion support.

Returns

true if CultureInfoIetfLanguageTagConverter can convert; otherwise, false.

Applies to