Export (0) Print
Expand All

TypeConverter Members

Provides a unified way of converting types of values to other types, as well as for accessing standard values and subproperties.

The following tables list the members exposed by the TypeConverter type.

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TypeConverter Initializes a new instance of the TypeConverter class.
Top

(see also Protected Methods )
  Name Description
Public method CanConvertFrom Overloaded. Returns whether this converter can convert an object of one type to the type of this converter.
Public method CanConvertTo Overloaded. Returns whether this converter can convert the object to the specified type.
Public method ConvertFrom Overloaded. Converts the given value to the type of this converter.
Public method ConvertFromInvariantString Overloaded. Converts the value to a type of this converter, using the invariant culture.
Public method ConvertFromString Overloaded. Converts the specified text to an object.
Public method ConvertTo Overloaded. Converts the given value object to the specified type.
Public method ConvertToInvariantString Overloaded. Converts the specified value to a culture-invariant string representation.
Public method ConvertToString Overloaded. Converts the specified value to a string representation.
Public method CreateInstance Overloaded. Re-creates an Object given a set of property values for the object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetCreateInstanceSupported Overloaded. Returns whether changing a value on this object requires a call to the CreateInstance method to create a new value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetProperties Overloaded. Returns a collection of properties for the type of array specified by the value parameter.
Public method GetPropertiesSupported Overloaded. Returns whether this object supports properties.
Public method GetStandardValues Overloaded. Returns a collection of standard values for the data type this type converter is designed for.
Public method GetStandardValuesExclusive Overloaded. Returns whether the collection of standard values returned from GetStandardValues is an exclusive list.
Public method GetStandardValuesSupported Overloaded. Returns whether this object supports a standard set of values that can be picked from a list.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsValid Overloaded. Returns whether the given value object is valid for this type.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetConvertFromException Returns an exception to throw when a conversion cannot be performed.
Protected method GetConvertToException Returns an exception to throw when a conversion cannot be performed.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method SortProperties Sorts a collection of properties.
Top

Community Additions

ADD
Show:
© 2014 Microsoft