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.

TypeConverter.CanConvertTo Method

Returns whether this converter can convert the object to the specified type.

Overload List

Returns whether this converter can convert the object to the specified type.

[Visual Basic] Overloads Public Function CanConvertTo(Type) As Boolean
[C#] public bool CanConvertTo(Type);
[C++] public: bool CanConvertTo(Type*);
[JScript] public function CanConvertTo(Type) : Boolean;

Returns whether this converter can convert the object to the specified type, using the specified context.

[Visual Basic] Overloads Public Overridable Function CanConvertTo(ITypeDescriptorContext, Type) As Boolean
[C#] public virtual bool CanConvertTo(ITypeDescriptorContext, Type);
[C++] public: virtual bool CanConvertTo(ITypeDescriptorContext*, Type*);
[JScript] public function CanConvertTo(ITypeDescriptorContext, Type) : Boolean;

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace

Show:
© 2014 Microsoft