CustomTypeDescriptor Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides a simple default implementation of the ICustomTypeDescriptor interface.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

System.Object
  System.ComponentModel.CustomTypeDescriptor
    System.Activities.WorkflowDataContext

<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)>
Public MustInherit Class CustomTypeDescriptor
	Implements ICustomTypeDescriptor

NameDescription
System_CAPS_protmethodCustomTypeDescriptor()

Initializes a new instance of the CustomTypeDescriptor class.

System_CAPS_protmethodCustomTypeDescriptor(ICustomTypeDescriptor)

Initializes a new instance of the CustomTypeDescriptor class using a parent custom type descriptor.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAttributes()

Returns a collection of custom attributes for the type represented by this type descriptor.

System_CAPS_pubmethodGetClassName()

Returns the fully qualified name of the class represented by this type descriptor.

System_CAPS_pubmethodGetComponentName()

Returns the name of the class represented by this type descriptor.

System_CAPS_pubmethodGetConverter()

Returns a type converter for the type represented by this type descriptor.

System_CAPS_pubmethodGetDefaultEvent()

Returns the event descriptor for the default event of the object represented by this type descriptor.

System_CAPS_pubmethodGetDefaultProperty()

Returns the property descriptor for the default property of the object represented by this type descriptor.

System_CAPS_pubmethodGetEditor(Type)

Returns an editor of the specified type that is to be associated with the class represented by this type descriptor.

System_CAPS_pubmethodGetEvents()

Returns a collection of event descriptors for the object represented by this type descriptor.

System_CAPS_pubmethodGetEvents(Attribute())

Returns a filtered collection of event descriptors for the object represented by this type descriptor.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperties()

Returns a collection of property descriptors for the object represented by this type descriptor.

System_CAPS_pubmethodGetProperties(Attribute())

Returns a filtered collection of property descriptors for the object represented by this type descriptor.

System_CAPS_pubmethodGetPropertyOwner(PropertyDescriptor)

Returns an object that contains the property described by the specified property descriptor.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: