DesignerSerializationManager 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 DesignerSerializationManager class.
Overloads
DesignerSerializationManager() |
Initializes a new instance of the DesignerSerializationManager class. |
DesignerSerializationManager(IServiceProvider) |
Initializes a new instance of the DesignerSerializationManager class with the given service provider. |
DesignerSerializationManager()
Initializes a new instance of the DesignerSerializationManager class.
public:
DesignerSerializationManager();
public DesignerSerializationManager ();
Public Sub New ()
Remarks
This constructor sets the PreserveNames and ValidateRecycledTypes properties to true
.
See also
Applies to
DesignerSerializationManager(IServiceProvider)
Initializes a new instance of the DesignerSerializationManager class with the given service provider.
public:
DesignerSerializationManager(IServiceProvider ^ provider);
public DesignerSerializationManager (IServiceProvider provider);
public DesignerSerializationManager (IServiceProvider? provider);
new System.ComponentModel.Design.Serialization.DesignerSerializationManager : IServiceProvider -> System.ComponentModel.Design.Serialization.DesignerSerializationManager
Public Sub New (provider As IServiceProvider)
Parameters
- provider
- IServiceProvider
An IServiceProvider.
Exceptions
provider
is null
.
Remarks
If a serializer requests services that cannot be satisfied by the serialization manager, the default implementation will forward those requests to the provider
parameter.
This constructor sets the PreserveNames and ValidateRecycledTypes properties to true
.
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