SoapReflectionImporter 建構函式

定義

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

多載

SoapReflectionImporter()

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

SoapReflectionImporter(String)

初始化 SoapReflectionImporter 類別的新執行個體,並為匯入的型別對應指定預設 XML 命名空間。

SoapReflectionImporter(SoapAttributeOverrides)

初始化 SoapReflectionImporter 類別的新執行個體,並指定 XML 序列化的覆寫。

SoapReflectionImporter(SoapAttributeOverrides, String)

初始化 SoapReflectionImporter 類別的新執行個體,並指定 XML 序列化覆寫和預設的 XML 命名空間。

SoapReflectionImporter()

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

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

適用於

SoapReflectionImporter(String)

初始化 SoapReflectionImporter 類別的新執行個體,並為匯入的型別對應指定預設 XML 命名空間。

public:
 SoapReflectionImporter(System::String ^ defaultNamespace);
public SoapReflectionImporter (string? defaultNamespace);
public SoapReflectionImporter (string defaultNamespace);
new System.Xml.Serialization.SoapReflectionImporter : string -> System.Xml.Serialization.SoapReflectionImporter
Public Sub New (defaultNamespace As String)

參數

defaultNamespace
String

預設 XML 命名空間,用來對應匯入的類型。

適用於

SoapReflectionImporter(SoapAttributeOverrides)

初始化 SoapReflectionImporter 類別的新執行個體,並指定 XML 序列化的覆寫。

public:
 SoapReflectionImporter(System::Xml::Serialization::SoapAttributeOverrides ^ attributeOverrides);
public SoapReflectionImporter (System.Xml.Serialization.SoapAttributeOverrides? attributeOverrides);
public SoapReflectionImporter (System.Xml.Serialization.SoapAttributeOverrides attributeOverrides);
new System.Xml.Serialization.SoapReflectionImporter : System.Xml.Serialization.SoapAttributeOverrides -> System.Xml.Serialization.SoapReflectionImporter
Public Sub New (attributeOverrides As SoapAttributeOverrides)

參數

attributeOverrides
SoapAttributeOverrides

SoapAttributeOverrides 物件,此物件會覆寫 XmlSerializer 類別使用 SOAP 編碼序列化對應之型別的方式。

適用於

SoapReflectionImporter(SoapAttributeOverrides, String)

初始化 SoapReflectionImporter 類別的新執行個體,並指定 XML 序列化覆寫和預設的 XML 命名空間。

public:
 SoapReflectionImporter(System::Xml::Serialization::SoapAttributeOverrides ^ attributeOverrides, System::String ^ defaultNamespace);
public SoapReflectionImporter (System.Xml.Serialization.SoapAttributeOverrides? attributeOverrides, string? defaultNamespace);
public SoapReflectionImporter (System.Xml.Serialization.SoapAttributeOverrides attributeOverrides, string defaultNamespace);
new System.Xml.Serialization.SoapReflectionImporter : System.Xml.Serialization.SoapAttributeOverrides * string -> System.Xml.Serialization.SoapReflectionImporter
Public Sub New (attributeOverrides As SoapAttributeOverrides, defaultNamespace As String)

參數

attributeOverrides
SoapAttributeOverrides

SoapAttributeOverrides 物件,此物件會覆寫 XmlSerializer 類別使用 SOAP 編碼序列化對應之型別的方式。

defaultNamespace
String

預設 XML 命名空間,用來對應匯入的類型。

適用於