HttpWebClientProtocol.GenerateXmlMappings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
返回
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
参数
返回
一个 Hashtable ,其中包含 XmlMembersMapping 由指定类型公开的每个 XML Web 服务方法。 所包含的 types 类型用作键。