SoapReflectionImporter 构造函数

定义

初始化 SoapReflectionImporter 类的新实例。

重载

名称 说明
SoapReflectionImporter()

初始化 SoapReflectionImporter 类的新实例。

SoapReflectionImporter(String)

初始化类的新实例 SoapReflectionImporter ,为导入的类型映射指定默认 XML 命名空间。

SoapReflectionImporter(SoapAttributeOverrides)

初始化类的新实例 SoapReflectionImporter ,并指定 XML 序列化的替代。

SoapReflectionImporter(SoapAttributeOverrides, String)

初始化类的新实例 SoapReflectionImporter ,指定 XML 序列化重写和默认 XML 命名空间。

SoapReflectionImporter()

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

初始化 SoapReflectionImporter 类的新实例。

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

适用于

SoapReflectionImporter(String)

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

初始化类的新实例 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)

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

初始化类的新实例 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)

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

初始化类的新实例 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 命名空间。

适用于