CustomTypeDescriptor Class
Provides a simple default implementation of the ICustomTypeDescriptor interface.
Namespace: System.ComponentModel
Assembly: System (in System.dll)
The CustomTypeDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CustomTypeDescriptor() | Initializes a new instance of the CustomTypeDescriptor class. |
![]() | CustomTypeDescriptor(ICustomTypeDescriptor) | Initializes a new instance of the CustomTypeDescriptor class using a parent custom type descriptor. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAttributes | Returns a collection of custom attributes for the type represented by this type descriptor. |
![]() | GetClassName | Returns the fully qualified name of the class represented by this type descriptor. |
![]() | GetComponentName | Returns the name of the class represented by this type descriptor. |
![]() | GetConverter | Returns a type converter for the type represented by this type descriptor. |
![]() | GetDefaultEvent | Returns the event descriptor for the default event of the object represented by this type descriptor. |
![]() | GetDefaultProperty | Returns the property descriptor for the default property of the object represented by this type descriptor. |
![]() | GetEditor | Returns an editor of the specified type that is to be associated with the class represented by this type descriptor. |
![]() | GetEvents() | Returns a collection of event descriptors for the object represented by this type descriptor. |
![]() | GetEvents(Attribute[]) | Returns a filtered collection of event descriptors for the object represented by this type descriptor. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetProperties() | Returns a collection of property descriptors for the object represented by this type descriptor. |
![]() | GetProperties(Attribute[]) | Returns a filtered collection of property descriptors for the object represented by this type descriptor. |
![]() | GetPropertyOwner | Returns an object that contains the property described by the specified property descriptor. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Like TypeDescriptionProvider, the CustomTypeDescriptor class relies on a parent object of type ICustomTypeDescriptor supplied during construction. This allows classes that derive from CustomTypeDescriptor to selectively override methods.
Note |
|---|
The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
