HttpWebClientProtocol.GenerateXmlMappings Method

Definition

Gets the XmlMembersMapping for each XML Web service method exposed by the specified type(s).

Overloads

GenerateXmlMappings(Type, ArrayList)

Gets the XmlMembersMapping for each XML Web service method exposed by the specified type, and stores the mappings in the specified ArrayList.

GenerateXmlMappings(Type[], ArrayList)

Gets the XmlMembersMapping for each XML Web service method exposed by the specified types, and stores the mappings in the specified ArrayList, as well as in a Hashtable that this method returns.

GenerateXmlMappings(Type, ArrayList)

Gets the XmlMembersMapping for each XML Web service method exposed by the specified type, and stores the mappings in the specified 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

Parameters

type
Type

The Type that exposes the XML Web service methods.

mappings
ArrayList

An ArrayList that's used to store the mappings.

Returns

true if type can be assigned to a SoapHttpClientProtocol; otherwise, false.

Applies to

GenerateXmlMappings(Type[], ArrayList)

Gets the XmlMembersMapping for each XML Web service method exposed by the specified types, and stores the mappings in the specified ArrayList, as well as in a Hashtable that this method returns.

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

Parameters

types
Type[]

An array of type Type that contains the types that expose the XML Web service methods.

mappings
ArrayList

An ArrayList that is used to store the mappings.

Returns

A Hashtable that contains the XmlMembersMapping for each XML Web service method exposed by the specified types. The types contained in types are used as keys.

Applies to