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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om