This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
TypeConverter Methods
The methods of the TypeConverter class are listed below. For a complete list of TypeConverter class members, see the TypeConverter Members topic.
Public:
CanConvertFrom |
Overloaded. Gets a value indicating whether this converter can convert an object in the given source type to the native type of the converter. |
CanConvertTo |
Overloaded. Gets a value indicating whether this converter can convert an object to the given destination type. |
ConvertFrom |
Overloaded. Converts the given value to the converter's native type. |
ConvertFromString |
Overloaded. Converts the specified text into an object. |
ConvertTo |
Overloaded. Converts the given object to another type. |
ConvertToString |
Overloaded. Converts the specified value to a string representation. |
CreateInstance |
Overloaded. [To be supplied.] |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetCreateInstanceSupported |
Overloaded. [To be supplied.] |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetPersistInfo |
Overloaded. [To be supplied.] |
GetProperties |
Overloaded. [To be supplied.] |
GetPropertiesSupported |
Overloaded. [To be supplied.] |
GetStandardValues |
Overloaded. [To be supplied.] |
GetStandardValuesExclusive |
Overloaded. [To be supplied.] |
GetStandardValuesSupported |
Overloaded. [To be supplied.] |
GetType (inherited from Object) |
Gets the Type of the Object. |
IsValid |
Overloaded. [To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
GetConvertFromException |
Retrieves a suitable exception to throw when a conversion cannot be performed. |
GetConvertToException |
Retrieves a suitable exception to throw when a conversion cannot be performed. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
SortProperties |
Sorts a collection of properties. |
See Also
TypeConverter Class | System.ComponentModel Namespace