- context
- An System.ComponentModel.ITypeDescriptorContext that provides a format context.
- destinationType
- A System.Type that represents the type to which you want to convert.
Visual Basic (Declaration) | |
---|---|
Overloads Overrides Public Function CanConvertTo( _ ByVal context As ITypeDescriptorContext, _ ByVal destinationType As Type _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterColorTypeConverter Dim context As ITypeDescriptorContext Dim destinationType As Type Dim value As Boolean value = instance.CanConvertTo(context, destinationType) |
C# | |
---|---|
public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType ) |
C++/CLI | |
---|---|
public: bool CanConvertTo( ITypeDescriptorContext^ context, Type^ destinationType ) override |
Parameters
- context
- An System.ComponentModel.ITypeDescriptorContext that provides a format context.
- destinationType
- A System.Type that represents the type to which you want to convert.
Return Value
true if this converter can perform the operation; otherwise, false.For more information, refer to TypeConverter.CanConvertFrom
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7