LengthConverter.CanConvertFrom(ITypeDescriptorContext, Type) 메서드

정의

지정된 형식에서 개체의 길이를 나타내는 형식으로 Double 변환할 수 있는지 여부를 결정합니다.

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

매개 변수

typeDescriptorContext
ITypeDescriptorContext

구성 요소에 대한 컨텍스트 정보를 제공합니다.

sourceType
Type

변환을 위해 평가할 데이터 형식을 식별합니다.

반품

변환이 가능하면

설명

LengthConverter는 다음 형식String으로 DecimalSingleDoubleInt16Int32Int64UInt16UInt32UInt64변환을 지원합니다.

적용 대상