แก้ไข

แชร์ผ่าน


InputScopeConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines whether an InputScope object can be converted to an object of a specified type.

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

Parameters

context
ITypeDescriptorContext

An object that describes any type descriptor context. This object must implement the ITypeDescriptorContext interface. This parameter may be null.

destinationType
Type

A Type to check for conversion compatibility.

Returns

true if destinationType is type String; otherwise, false.

Applies to