Skip to main content
.NET Framework Class Library
TypeConverterCanConvertFrom Method





Returns whether this converter can convert an object of one type to the type of this converter.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
  NameDescription
Public method CanConvertFrom(Type) Returns whether this converter can convert an object of the given type to the type of this converter.
Public method CanConvertFrom(ITypeDescriptorContext, Type) Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Top