TypeDescriptor Methods

The TypeDescriptor type exposes the following members.

  Name Description
Public method Static member AddAttributes(Object, Attribute[]) Adds class-level attributes to the target component instance.
Public method Static member AddAttributes(Type, Attribute[]) Adds class-level attributes to the target component type.
Public method Static member AddEditorTable Adds an editor table for the given editor base type.
Public method Static member AddProvider(TypeDescriptionProvider, Object) Adds a type description provider for a single instance of a component.
Public method Static member AddProvider(TypeDescriptionProvider, Type) Adds a type description provider for a component class.
Public method Static member AddProviderTransparent(TypeDescriptionProvider, Object) Adds a type description provider for a single instance of a component.
Public method Static member AddProviderTransparent(TypeDescriptionProvider, Type) Adds a type description provider for a component class.
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(Type, EventDescriptor, Attribute[]) Creates a new event descriptor that is identical to an existing event descriptor, when passed the existing EventDescriptor.
Public method Static member CreateEvent(Type, String, Type, Attribute[]) Creates a new event descriptor that is identical to an existing event descriptor by dynamically generating descriptor information from a specified event on a type.
Public method Static member CreateInstance Creates an object that can substitute for another data type.
Public method Static member CreateProperty(Type, PropertyDescriptor, Attribute[]) Creates a new property descriptor from an existing property descriptor, using the specified existing PropertyDescriptor and attribute array.
Public method Static member CreateProperty(Type, String, Type, Attribute[]) Creates and dynamically binds a property descriptor to a type, using the specified property name, type, and attribute array.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (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(Object) Returns the collection of attributes for the specified component.
Public method Static member GetAttributes(Type) Returns a collection of attributes for the specified type of component.
Public method Static member GetAttributes(Object, Boolean) Returns a collection of attributes for the specified component and a Boolean indicating that a custom type descriptor has been created.
Public method Static member GetClassName(Object) Returns the name of the class for the specified component using the default type descriptor.
Public method Static member GetClassName(Type) Returns the name of the class for the specified type.
Public method Static member GetClassName(Object, Boolean) Returns the name of the class for the specified component using a custom type descriptor.
Public method Static member GetComponentName(Object) Returns the name of the specified component using the default type descriptor.
Public method Static member GetComponentName(Object, Boolean) Returns the name of the specified component using a custom type descriptor.
Public method Static member GetConverter(Object) Returns a type converter for the type of the specified component.
Public method Static member GetConverter(Type) Returns a type converter for the specified type.
Public method Static member GetConverter(Object, Boolean) Returns a type converter for the type of the specified component with a custom type descriptor.
Public method Static member GetDefaultEvent(Object) Returns the default event for the specified component.
Public method Static member GetDefaultEvent(Type) Returns the default event for the specified type of component.
Public method Static member GetDefaultEvent(Object, Boolean) Returns the default event for a component with a custom type descriptor.
Public method Static member GetDefaultProperty(Object) Returns the default property for the specified component.
Public method Static member GetDefaultProperty(Type) Returns the default property for the specified type of component.
Public method Static member GetDefaultProperty(Object, Boolean) Returns the default property for the specified component with a custom type descriptor.
Public method Static member GetEditor(Object, Type) Gets an editor with the specified base type for the specified component.
Public method Static member GetEditor(Type, Type) Returns an editor with the specified base type for the specified type.
Public method Static member GetEditor(Object, Type, Boolean) Returns an editor with the specified base type and with a custom type descriptor for the specified component.
Public method Static member GetEvents(Object) Returns the collection of events for the specified component.
Public method Static member GetEvents(Type) Returns the collection of events for a specified type of component.
Public method Static member GetEvents(Object, Attribute[]) Returns the collection of events for a specified component using a specified array of attributes as a filter.
Public method Static member GetEvents(Object, Boolean) Returns the collection of events for a specified component with a custom type descriptor.
Public method Static member GetEvents(Type, Attribute[]) Returns the collection of events for a specified type of component using a specified array of attributes as a filter.
Public method Static member GetEvents(Object, Attribute[], Boolean) Returns the collection of events for a specified component using a specified array of attributes as a filter and using a custom type descriptor.
Public method Static member GetFullComponentName Returns the fully qualified name of the component.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Static member GetProperties(Object) Returns the collection of properties for a specified component.
Public method Static member GetProperties(Type) Returns the collection of properties for a specified type of component.
Public method Static member GetProperties(Object, Attribute[]) Returns the collection of properties for a specified component using a specified array of attributes as a filter.
Public method Static member GetProperties(Object, Boolean) Returns the collection of properties for a specified component using the default type descriptor.
Public method Static member GetProperties(Type, Attribute[]) Returns the collection of properties for a specified type of component using a specified array of attributes as a filter.
Public method Static member GetProperties(Object, Attribute[], Boolean) Returns the collection of properties for a specified component using a specified array of attributes as a filter and using a custom type descriptor.
Public method Static member GetProvider(Object) Returns the type description provider for the specified component.
Public method Static member GetProvider(Type) Returns the type description provider for the specified type.
Public method Static member GetReflectionType(Object) Returns a Type that can be used to perform reflection, given an object.
Public method Static member GetReflectionType(Type) Returns a Type that can be used to perform reflection, given a class type.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Refresh(Assembly) Clears the properties and events for the specified assembly from the cache.
Public method Static member Refresh(Module) Clears the properties and events for the specified module from the cache.
Public method Static member Refresh(Object) Clears the properties and events for the specified component from the cache.
Public method Static member Refresh(Type) Clears the properties and events for the specified type of component 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(TypeDescriptionProvider, Object) Removes a previously added type description provider that is associated with the specified object.
Public method Static member RemoveProvider(TypeDescriptionProvider, Type) Removes a previously added type description provider that is associated with the specified type.
Public method Static member RemoveProviderTransparent(TypeDescriptionProvider, Object) Removes a previously added type description provider that is associated with the specified object.
Public method Static member RemoveProviderTransparent(TypeDescriptionProvider, Type) Removes a previously added type description provider that is associated with the specified type.
Public method Static member SortDescriptorArray Sorts descriptors using the name of the descriptor.
Public method 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
Show:
© 2014 Microsoft