TypeDescriptionProvider Constructor (TypeDescriptionProvider)
Collapse the table of content
Expand the table of content

TypeDescriptionProvider Constructor (TypeDescriptionProvider)

 

Initializes a new instance of the TypeDescriptionProvider class using a parent type description provider.

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

Protected Sub New (
	parent As TypeDescriptionProvider
)

Parameters

parent
Type: System.ComponentModel.TypeDescriptionProvider

The parent type description provider.

If the parent parameter is null, all TypeDescriptionProvider methods will return default values. Otherwise, all TypeDescriptionProvider methods will delegate to the methods of parent.

The following table shows the default return values for TypeDescriptionProvider methods.

Method

Default return value

GetCache

null

CreateInstance

A newly created object through a call to the CreateInstance method.

GetExtendedTypeDescriptor

A default instance of a CustomTypeDescriptor class.

GetTypeDescriptor

A default instance of a CustomTypeDescriptor class.

GetReflectionType

The objectType first parameter.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft