VisualBasicSettingsConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

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: