TypeConverter Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The TypeConverter type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanConvertFrom(Type) | Returns whether the type converter can convert an object from the specified type to the type of this converter. | |
CanConvertFrom(ITypeDescriptorContext, Type) | Returns whether the type converter can convert an object from the specified type to the type of this converter. | |
CanConvertTo(Type) | Returns whether the type converter can convert an object to the specified type. | |
CanConvertTo(ITypeDescriptorContext, Type) | Returns whether the type converter can convert an object to the specified type. | |
ConvertFrom(Object) | Converts from the specified value to the type of this converter. | |
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) | Converts from the specified value to the intended conversion type of the converter. | |
ConvertFromString | Converts the specified text to an object. | |
ConvertTo(Object, Type) | Converts the specified value object to the specified type. | |
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) | Converts the specified value object to the specified type. | |
ConvertToString | Converts the specified object to a string representation. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top