Edit

Share via


DesignerSerializationManager Constructors

Definition

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()

Source:
DesignerSerializationManager.cs
Source:
DesignerSerializationManager.cs
Source:
DesignerSerializationManager.cs

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)

Source:
DesignerSerializationManager.cs
Source:
DesignerSerializationManager.cs
Source:
DesignerSerializationManager.cs

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

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