VisualBasicSettingsConverter::CanConvertTo Method (ITypeDescriptorContext^, Type^)

.NET Framework (current version)
 

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

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

Namespace:   Microsoft.VisualBasic.Activities.XamlIntegration
Assembly:  System.Activities (in System.Activities.dll)

public:
virtual bool CanConvertTo(
	ITypeDescriptorContext^ context,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

Context information that is used for conversion.

destinationType
Type: System::Type^

The type to convert to.

Return Value

Type: System::Boolean

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

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

.NET Framework
Available since 4.0
Return to top
Show: