Export (0) Print
Expand All

TimeSpanConverter Methods

The methods of the TimeSpanConverter class are listed here. For a complete list of TimeSpanConverter class members, see the TimeSpanConverter Members topic.

Public Methods

public methodCanConvertFrom Overloaded. Overridden. See TypeConverter.CanConvertFrom.
public methodCanConvertTo Overloaded. Overridden. See TypeConverter.CanConvertTo.
public methodConvertFrom Overloaded. Overridden. See TypeConverter.ConvertFrom.
public methodConvertFromInvariantString (inherited from TypeConverter) Overloaded. Converts the value to a type of this converter, using the invariant culture.
public methodConvertFromString (inherited from TypeConverter) Overloaded. Converts the specified text to an object.
public methodConvertTo Overloaded. Overridden. See TypeConverter.ConvertTo.
public methodConvertToInvariantString (inherited from TypeConverter) Overloaded. Converts the specified value to a culture-invariant string representation.
public methodConvertToString (inherited from TypeConverter) Overloaded. Converts the specified value to a string representation.
public methodCreateInstance (inherited from TypeConverter) Overloaded. Re-creates an Object given a set of property values for the object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetCreateInstanceSupported (inherited from TypeConverter) Overloaded. Returns whether changing a value on this object requires a call to CreateInstance to create a new value.
public methodGetHashCode (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.
public methodGetProperties (inherited from TypeConverter) Overloaded. Returns a collection of properties for the type of array specified by the value parameter.
public methodGetPropertiesSupported (inherited from TypeConverter) Overloaded. Returns whether this object supports properties.
public methodGetStandardValues (inherited from TypeConverter) Overloaded. Returns a collection of standard values for the data type this type converter is designed for.
public methodGetStandardValuesExclusive (inherited from TypeConverter) Overloaded. Returns whether the collection of standard values returned from GetStandardValues is an exclusive list.
public methodGetStandardValuesSupported (inherited from TypeConverter) Overloaded. Returns whether this object supports a standard set of values that can be picked from a list.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIsValid (inherited from TypeConverter) Overloaded. Returns whether the given value object is valid for this type.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) 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 (inherited from TypeConverter) Returns an exception to throw when a conversion cannot be performed.
protected methodGetConvertToException (inherited from TypeConverter) Returns an exception to throw when a conversion cannot be performed.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodSortProperties (inherited from TypeConverter) Sorts a collection of properties.

See Also

TimeSpanConverter Class | System.ComponentModel Namespace

Show:
© 2014 Microsoft