System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping Method

Returns internal type mappings using information from a Web service method, and allows you to specify an XML element name, XML namespace, and other options.

Syntax

public XmlMembersMapping ImportMembersMapping (string elementName, string ns, XmlReflectionMember[] members, bool hasWrapperElement, bool rpc, bool openModel)

Parameters

elementName
An XML element name produced from the Web service method.
ns
An XML element namespace produced from the Web service method.
members
An array of System.Xml.Serialization.XmlReflectionMember objects that contain .NET Framework code entities that belong to a Web service method.
hasWrapperElement
true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false.
rpc
true if the method is a remote procedure call; otherwise, false.
openModel
true to specify that the generated schema type will be marked with the <xs:anyAttribute> element; otherwise, false.

Returns

An System.Xml.Serialization.XmlMembersMapping that contains the mappings.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0