Export (0) Print
Expand All

TypeDescriptionProvider.TypeDescriptionProvider(TypeDescriptionProvider) Constructor

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

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

protected TypeDescriptionProvider (
	TypeDescriptionProvider parent
)
protected TypeDescriptionProvider (
	TypeDescriptionProvider parent
)
protected function TypeDescriptionProvider (
	parent : TypeDescriptionProvider
)
Not applicable.

Parameters

parent

The parent type description provider.

If the parent parameter is a null reference (Nothing in Visual Basic), 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

a null reference (Nothing in Visual Basic)

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft