System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping Method

Generates internal type mappings for information from a Web service method.

Syntax

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

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.
access
One of the System.Xml.Serialization.XmlMappingAccess values. The default is None.

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