Intersoft ClientUI Documentation
CanConvertFrom(Type) Method



A type that represents the type you want to convert from.
Gets a value indicating whether this converter can convert the given type to the type of this converter.
Syntax
Public Overloads Function CanConvertFrom( _
   ByVal sourceType As Type _
) As Boolean
Dim instance As PropertyTypeConverter
Dim sourceType As Type
Dim value As Boolean
 
value = instance.CanConvertFrom(sourceType)
public bool CanConvertFrom( 
   Type sourceType
)
public:
bool CanConvertFrom( 
   Type^ sourceType
) 

Parameters

sourceType
A type that represents the type you want to convert from.

Return Value

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PropertyTypeConverter Class
PropertyTypeConverter Members
Overload List

Send Feedback