共用方式為


CodeDomComponentSerializationService 建構函式

定義

初始化 CodeDomComponentSerializationService 類別的新執行個體。

多載

CodeDomComponentSerializationService()

初始化 CodeDomComponentSerializationService 類別的新執行個體。

CodeDomComponentSerializationService(IServiceProvider)

使用指定的服務提供者,初始化 CodeDomComponentSerializationService 類別的新執行個體,以解析服務。

CodeDomComponentSerializationService()

初始化 CodeDomComponentSerializationService 類別的新執行個體。

public:
 CodeDomComponentSerializationService();
public CodeDomComponentSerializationService ();
Public Sub New ()

適用於

CodeDomComponentSerializationService(IServiceProvider)

使用指定的服務提供者,初始化 CodeDomComponentSerializationService 類別的新執行個體,以解析服務。

public:
 CodeDomComponentSerializationService(IServiceProvider ^ provider);
public CodeDomComponentSerializationService (IServiceProvider provider);
public CodeDomComponentSerializationService (IServiceProvider? provider);
new System.ComponentModel.Design.Serialization.CodeDomComponentSerializationService : IServiceProvider -> System.ComponentModel.Design.Serialization.CodeDomComponentSerializationService
Public Sub New (provider As IServiceProvider)

參數

provider
IServiceProvider

用於解析服務的 IServiceProvider

另請參閱

適用於