Share via


HttpWebClientProtocol.GenerateXmlMappings 方法

定义

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

重载

GenerateXmlMappings(Type, ArrayList)

获取由指定类型公开的每个 XML Web services 方法的 XmlMembersMapping,然后将映射存储在指定的 ArrayList 中。

GenerateXmlMappings(Type[], ArrayList)

获取由指定类型公开的每个 XML Web services 方法的 XmlMembersMapping,然后将映射存储在指定的 ArrayList 中,同时也存储在此方法返回的 Hashtable 中。

GenerateXmlMappings(Type, ArrayList)

获取由指定类型公开的每个 XML Web services 方法的 XmlMembersMapping,然后将映射存储在指定的 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

公开 XML Web services 方法的 Type

mappings
ArrayList

ArrayList用于存储映射的 。

返回

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

适用于

GenerateXmlMappings(Type[], ArrayList)

获取由指定类型公开的每个 XML Web services 方法的 XmlMembersMapping,然后将映射存储在指定的 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 services 方法的类型。

mappings
ArrayList

用于存储映射的 ArrayList

返回

一个 Hashtable,其中包含由指定类型公开的每个 XML Web services 方法的 XmlMembersMappingtypes 中包含的类型用作键。

适用于