VisualBasicSettingsConverter.CanConvertTo 메서드

정의

인스턴스를 VisualBasicSettings 지정된 형식의 인스턴스로 변환할 수 있는지 여부를 결정합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

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

매개 변수

context
ITypeDescriptorContext

변환에 사용되는 컨텍스트 정보입니다.

destinationType
Type

변환할 형식입니다.

반품

true 인스턴스를 VisualBasicSettings 지정된 형식의 인스턴스로 변환할 수 있으면 이고, false그렇지 않으면 .

설명

이 메서드 false 는 반환 하는 destinationType 경우는 ; String그렇지 않으면 기본 클래스 메서드 CanConvertTo를 호출하여 결정 합니다.

적용 대상