XmlReflectionImporter 构造函数

定义

初始化 XmlReflectionImporter 类的新实例。

重载

名称 说明
XmlReflectionImporter()

此 API 支持产品基础结构,不能在代码中直接使用。

初始化 XmlReflectionImporter 类的新实例。

XmlReflectionImporter(String)

此 API 支持产品基础结构,不能在代码中直接使用。

使用指定的默认 XML 命名空间初始化类的新实例 XmlReflectionImporter

XmlReflectionImporter(XmlAttributeOverrides)

此 API 支持产品基础结构,不能在代码中直接使用。

使用指定的 XML 序列化重写初始化类的新实例 XmlReflectionImporter

XmlReflectionImporter(XmlAttributeOverrides, String)

此 API 支持产品基础结构,不能在代码中直接使用。

使用指定的 XML 序列化重写和默认 XML 命名空间初始化类的新实例 XmlReflectionImporter

XmlReflectionImporter()

Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs

初始化 XmlReflectionImporter 类的新实例。

此 API 支持产品基础结构,不能在代码中直接使用。

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

注解

无需直接创建对象的实例 XmlReflectionImporter

适用于

XmlReflectionImporter(String)

Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs

使用指定的默认 XML 命名空间初始化类的新实例 XmlReflectionImporter

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

defaultNamespace
String

用于导入类型映射的默认 XML 命名空间。

注解

无需直接创建类的 XmlReflectionImporter 实例。

适用于

XmlReflectionImporter(XmlAttributeOverrides)

Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs

使用指定的 XML 序列化重写初始化类的新实例 XmlReflectionImporter

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

attributeOverrides
XmlAttributeOverrides

一个对象,该对象替代类序列化映射类型的方式 XmlSerializer

注解

无需直接创建类的 XmlReflectionImporter 实例。

适用于

XmlReflectionImporter(XmlAttributeOverrides, String)

Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs
Source:
XmlReflectionImporter.cs

使用指定的 XML 序列化重写和默认 XML 命名空间初始化类的新实例 XmlReflectionImporter

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

attributeOverrides
XmlAttributeOverrides

一个对象,该对象替代类序列化映射类型的方式 XmlSerializer

defaultNamespace
String

用于导入类型映射的默认 XML 命名空间。

注解

无需直接创建类的 XmlReflectionImporter 实例。

适用于