This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
TypeDescriptor Methods
The methods of the TypeDescriptor class are listed below. For a complete list of TypeDescriptor class members, see the TypeDescriptor Members topic.
Public:
CreateDesigner |
Creates an instance of the designer associated with the specified component. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetAttributes |
Overloaded. Gets a collection of attributes. |
GetClassName |
Overloaded. Gets the name of the class for the specified component. |
GetComponentName |
Overloaded. Gets the name of the class for the specified component. |
GetConverter |
Overloaded. Gets a type converter for a component. |
GetDefaultEvent |
Overloaded. Gets the default event for a component. |
GetDefaultProperty |
Overloaded. Gets the default property for a component. |
GetEditor |
Overloaded. Gets an editor with the specified base type. |
GetEvents |
Overloaded. Gets a collection of events. |
GetHashCode (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. |
GetProperties |
Overloaded. Gets a collection of properties. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Refresh |
Overloaded. Clears the properties and events from the cache. |
SortDescriptorArray |
Sorts descriptors by name of the descriptor. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
Event Hookup:
See Also
TypeDescriptor Class | System.ComponentModel Namespace