Returns whether this converter can convert the object to the specified type.
Public Function CanConvertTo ( _ destinationType As Type _ ) As Boolean
Dim instance As TypeConverter Dim destinationType As Type Dim returnValue As Boolean returnValue = instance.CanConvertTo(destinationType)
public bool CanConvertTo( Type destinationType )
public: bool CanConvertTo( Type^ destinationType )
public function CanConvertTo( destinationType : Type ) : boolean
If destinationType is a string, the default implementation of CanConvertTo always returns true.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98