Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BaseEnumStringConverter<T>::CanConvertTo Method (ITypeDescriptorContext^, Type^)

 

Returns a value that indicates whether this converter can convert the object to the specified type.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

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

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

An ITypeDescriptorContext that provides a format context.

destinationType
Type: System::Type^

A Type that represents the type to which you want to convert.

Return Value

Type: System::Boolean

true if this converter can perform the conversion; otherwise, false.

Return to top
Show: