This documentation is archived and is not being maintained.

TypeConverter Members

TypeConverter overview

Public Constructors

public constructorTypeConverter Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the TypeConverter class.

Public Methods

public methodCanConvertFrom Overloaded. Returns whether this converter can convert an object of one type to the type of this converter.
public methodCanConvertTo Overloaded. Returns whether this converter can convert the object to the specified type.
public methodConvertFrom Overloaded. Converts the given value to the type of this converter.
public methodConvertFromInvariantString Overloaded. Converts the value to a type of this converter, using the invariant culture.
public methodConvertFromString Overloaded. Converts the specified text to an object.
public methodConvertTo Overloaded. Converts the given value object to the specified type.
public methodConvertToInvariantString Overloaded. Converts the specified value to a culture-invariant string representation.
public methodConvertToString Overloaded. Converts the specified value to a string representation.
public methodCreateInstance Overloaded. Re-creates an Object given a set of property values for the object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetCreateInstanceSupported Overloaded. Returns whether changing a value on this object requires a call to CreateInstance to create a new value.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetProperties Overloaded. Returns a collection of properties for the type of array specified by the value parameter.
public methodGetPropertiesSupported Overloaded. Returns whether this object supports properties.
public methodGetStandardValues Overloaded. Returns a collection of standard values for the data type this type converter is designed for.
public methodGetStandardValuesExclusive Overloaded. Returns whether the collection of standard values returned from GetStandardValues is an exclusive list.
public methodGetStandardValuesSupported Overloaded. Returns whether this object supports a standard set of values that can be picked from a list.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIsValid Overloaded. Returns whether the given value object is valid for this type.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetConvertFromException Returns an exception to throw when a conversion cannot be performed.
protected methodGetConvertToException Returns an exception to throw when a conversion cannot be performed.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodSortProperties Sorts a collection of properties.

See Also

TypeConverter Class | System.ComponentModel Namespace

Show: