TypeDescriptor Methods

The TypeDescriptor type exposes the following members.

  NameDescription
Public method Static member AddAttributes Overloaded. Adds class-level attributes to the target component.
Public method Static member AddEditorTable Adds an editor table for the given editor base type.
Public method Static member AddProvider Overloaded. Adds a type description provider to the list of providers for this type descriptor.
Public method Static member CreateAssociation Creates a primary-secondary association between two objects.
Public method Static member CreateDesigner Creates an instance of the designer associated with the specified component and of the specified type of designer.
Public method Static member CreateEvent Overloaded. Creates a new event descriptor that is identical to an existing event descriptor.
Public method Static member CreateInstance Creates an object that can substitute for another data type.
Public method Static member CreateProperty Overloaded. Creates a new property descriptor for an existing property of a component.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member GetAssociation Returns an instance of the type associated with the specified primary object.
Public method Static member GetAttributes Overloaded. Returns the collection of attributes for a component or a type.
Public method Static member GetClassName Overloaded. Returns the name of the class for the specified component.
Public method Static member GetComponentName Overloaded. Returns the name of the specified component.
Public method Static member GetConverter Overloaded. Returns a type converter for a component or a type.
Public method Static member GetDefaultEvent Overloaded. Returns the default event for a component or type.
Public method Static member GetDefaultProperty Overloaded. Returns the default property for a component.
Public method Static member GetEditor Overloaded. Returns an editor with the specified base type.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetEvents Overloaded. Returns the collection of events for a component or type.
Public method Static member GetFullComponentName Returns the fully qualified name of the component.
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 Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetProperties Overloaded. Returns the collection of properties on a component or type.
Public method Static member GetProvider Overloaded. Returns the type description provider for the component or type.
Public method Static member GetReflectionType Overloaded. Returns a Type that can be used to perform reflection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
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.)
Public method Static member Refresh Overloaded. Clears the properties and events from the cache.
Public method Static member RemoveAssociation Removes an association between two objects.
Public method Static member RemoveAssociations Removes all associations for a primary object.
Public method Static member RemoveProvider Overloaded. Removes a previously added type description provider.
Public method Static member SortDescriptorArray Sorts descriptors using the name of the descriptor.
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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft