TypeDescriptionProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TypeDescriptionProvider class.
Overloads
TypeDescriptionProvider() |
Initializes a new instance of the TypeDescriptionProvider class. |
TypeDescriptionProvider(TypeDescriptionProvider) |
Initializes a new instance of the TypeDescriptionProvider class using a parent type description provider. |
TypeDescriptionProvider()
- Source:
- TypeDescriptionProvider.cs
- Source:
- TypeDescriptionProvider.cs
- Source:
- TypeDescriptionProvider.cs
Initializes a new instance of the TypeDescriptionProvider class.
protected:
TypeDescriptionProvider();
protected TypeDescriptionProvider ();
Protected Sub New ()
Remarks
This constructor is equivalent to calling the other TypeDescriptionProvider(TypeDescriptionProvider) constructor with a parameter value that is null
.
See also
Applies to
TypeDescriptionProvider(TypeDescriptionProvider)
- Source:
- TypeDescriptionProvider.cs
- Source:
- TypeDescriptionProvider.cs
- Source:
- TypeDescriptionProvider.cs
Initializes a new instance of the TypeDescriptionProvider class using a parent type description provider.
protected:
TypeDescriptionProvider(System::ComponentModel::TypeDescriptionProvider ^ parent);
protected TypeDescriptionProvider (System.ComponentModel.TypeDescriptionProvider parent);
new System.ComponentModel.TypeDescriptionProvider : System.ComponentModel.TypeDescriptionProvider -> System.ComponentModel.TypeDescriptionProvider
Protected Sub New (parent As TypeDescriptionProvider)
Parameters
- parent
- TypeDescriptionProvider
The parent type description provider.
Remarks
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. |
See also
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za