Click or drag to resize

TypeConverter Methods

The TypeConverter type exposes the following members.

Methods
  NameDescription
Public methodCanConvertFrom(Type)
Determines whether this instance can convert from the specified sourceType.
Public methodCanConvertFrom(ITypeDescriptorContext, Type)
Determines whether this instance can convert from the specified context sourceType.
Public methodCanConvertTo(Type)
Determines whether this instance can convert to the specified destinationType.
Public methodCanConvertTo(ITypeDescriptorContext, Type)
Determines whether this instance can convert to the specified context destinationType.
Public methodConvertFrom(Object)
Converts from the specified object.
Public methodConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Converts the specified value.
Public methodConvertFromInvariantString(String)
Converts from an invariant string.
Public methodConvertFromInvariantString(ITypeDescriptorContext, String)
Converts from an invariant string.
Public methodConvertFromString(String)
Converts from string.
Public methodConvertFromString(ITypeDescriptorContext, String)
Converts from string.
Public methodConvertFromString(ITypeDescriptorContext, CultureInfo, String)
Converts from string.
Public methodConvertTo(Object, Type)
Converts to the specified type.
Public methodConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Converts to the specified type.
Public methodConvertToInvariantString(Object)
Converts to an invariant string.
Public methodConvertToInvariantString(ITypeDescriptorContext, Object)
Converts to invariant string.
Public methodConvertToString(Object)
Converts to a string.
Public methodConvertToString(ITypeDescriptorContext, Object)
Converts to a string.
Public methodConvertToString(ITypeDescriptorContext, CultureInfo, Object)
Converts to a string.
Protected methodGetConvertFromException
Gets the exception when converting from a value.
Protected methodGetConvertToException
Gets the exception when converting to a value.
Public methodIsValid(Object)
Determines whether this instance is valid the specified value.
Public methodIsValid(ITypeDescriptorContext, Object)
Determines whether this instance is valid the specified context value.
Top
See Also