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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk