Export (0) Print
Expand All

TypeDescriptor Members

Provides information about the characteristics for a component, such as its attributes, properties, and events. This class cannot be inherited.

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

  Name Description
Public property Static ComNativeDescriptorHandler Gets or sets the provider for the Component Object Model (COM) type information for the target component.
Public property Static ComObjectType Gets the type of the Component Object Model (COM) object represented by the target component.
Top

(see also Protected Methods )
  Name Description
Public method Static AddAttributes Overloaded. Adds class-level attributes to the target component.
Public method Static AddEditorTable Adds an editor table for the given editor base type.
Public method Static AddProvider Overloaded. Adds a type description provider to the list of providers for this type descriptor.
Public method Static CreateAssociation Creates a primary-secondary association between two objects.
Public method Static CreateDesigner Creates an instance of the designer associated with the specified component and of the specified type of designer.
Public method Static CreateEvent Overloaded. Creates a new event descriptor that is identical to an existing event descriptor.
Public method Static CreateInstance Creates an object that can substitute for another data type.
Public method Static CreateProperty Overloaded. Creates a new property descriptor for an existing property of a component.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetAssociation Returns an instance of the type associated with the specified primary object.
Public method Static GetAttributes Overloaded. Returns the collection of attributes for a component or a type.
Public method Static GetClassName Overloaded. Returns the name of the class for the specified component.
Public method Static GetComponentName Overloaded. Returns the name of the specified component.
Public method Static GetConverter Overloaded. Returns a type converter for a component or a type.
Public method Static GetDefaultEvent Overloaded. Returns the default event for a component or type.
Public method Static GetDefaultProperty Overloaded. Returns the default property for a component.
Public method Static GetEditor Overloaded. Returns an editor with the specified base type.
Public method Static Supported by the .NET Compact Framework GetEvents Overloaded. Returns the collection of events for a component or type.
Public method Static GetFullComponentName Returns the fully qualified name of the component.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static Supported by the .NET Compact Framework GetProperties Overloaded. Returns the collection of properties on a component or type.
Public method Static GetProvider Overloaded. Returns the type description provider for the component or type.
Public method Static GetReflectionType Overloaded. Returns a Type that can be used to perform reflection.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
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 Static Refresh Overloaded. Clears the properties and events from the cache.
Public method Static RemoveAssociation Removes an association between two objects.
Public method Static RemoveAssociations Removes all associations for a primary object.
Public method Static RemoveProvider Overloaded. Removes a previously added type description provider.
Public method Static SortDescriptorArray Sorts descriptors using the name of the descriptor.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact 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 Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Public event Static Refreshed Occurs when the cache for a component is cleared.
Top

Community Additions

ADD
Show:
© 2015 Microsoft