HttpWebClientProtocol.GenerateXmlMappings 方法

定義

每個 XML Web 服務方法都由 XmlMembersMapping 指定類型暴露。

多載

名稱 Description
GenerateXmlMappings(Type, ArrayList)

取得 XmlMembersMapping 每個 XML Web 服務方法的指定型別所暴露的 ,並將映射儲存在指定的 ArrayList

GenerateXmlMappings(Type[], ArrayList)

取得每個 XML Web 服務方法的 , XmlMembersMapping 這些 由指定類型暴露,並將映射儲存在指定的 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 那個用來儲存映射的系統。

傳回

truetype 可以指派為 SoapHttpClientProtocol;否則,。 false

適用於

GenerateXmlMappings(Type[], ArrayList)

取得每個 XML Web 服務方法的 , 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 服務方法的型別。

mappings
ArrayList

一個 ArrayList 用來儲存映射的

傳回

Hashtable A 包含每個 XML Web 服務方法的 ,XmlMembersMapping該方法由指定型別所暴露。 所 types 包含的類型被用作鍵。

適用於