Breyta

Deila með


VisualBasicSettingsConverter.CanConvertTo Method

Definition

Determines whether a VisualBasicSettings instance can be converted into an instance of the specified type.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Context information that is used for conversion.

destinationType
Type

The type to convert to.

Returns

true if a VisualBasicSettings instance can be converted to an instance of the specified type; otherwise, false.

Remarks

This method returns false if the destinationType is a String; otherwise, the determination is made by calling the base class method CanConvertTo.

Applies to