HttpWebClientProtocol.GenerateXmlMappings 方法

定义

XmlMembersMapping获取由指定类型公开的每个 XML Web 服务方法。

重载

名称 说明
GenerateXmlMappings(Type, ArrayList)

获取 XmlMembersMapping 由指定类型公开的每个 XML Web 服务方法,并将映射存储在指定的 ArrayList

GenerateXmlMappings(Type[], ArrayList)

XmlMembersMapping获取由指定类型公开的每个 XML Web 服务方法,并将映射存储在指定的ArrayList以及此方法返回的映射Hashtable中。

GenerateXmlMappings(Type, ArrayList)

获取 XmlMembersMapping 由指定类型公开的每个 XML Web 服务方法,并将映射存储在指定的 ArrayList

public:
 static bool GenerateXmlMappings(Type ^ type, System::Collections::ArrayList ^ mappings);
public static bool GenerateXmlMappings(Type type, System.Collections.ArrayList mappings);
static member GenerateXmlMappings : Type * System.Collections.ArrayList -> bool
Public Shared Function GenerateXmlMappings (type As Type, mappings As ArrayList) As Boolean

参数

type
Type

Type公开 XML Web 服务方法的项。

mappings
ArrayList

用于存储映射的一个 ArrayList

返回

true 如果 type 可以分配给 a SoapHttpClientProtocol,则为 ;否则为 false

适用于

GenerateXmlMappings(Type[], ArrayList)

XmlMembersMapping获取由指定类型公开的每个 XML Web 服务方法,并将映射存储在指定的ArrayList以及此方法返回的映射Hashtable中。

public:
 static System::Collections::Hashtable ^ GenerateXmlMappings(cli::array <Type ^> ^ types, System::Collections::ArrayList ^ mappings);
public static System.Collections.Hashtable GenerateXmlMappings(Type[] types, System.Collections.ArrayList mappings);
static member GenerateXmlMappings : Type[] * System.Collections.ArrayList -> System.Collections.Hashtable
Public Shared Function GenerateXmlMappings (types As Type(), mappings As ArrayList) As Hashtable

参数

types
Type[]

一个类型 Type 数组,其中包含公开 XML Web 服务方法的类型。

mappings
ArrayList

用于存储映射的一个 ArrayList

返回

一个 Hashtable ,其中包含 XmlMembersMapping 由指定类型公开的每个 XML Web 服务方法。 所包含的 types 类型用作键。

适用于