Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlReflectionImporter::ImportMembersMapping Method (String^, String^, array<XmlReflectionMember^>^, Boolean, Boolean, Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public:
XmlMembersMapping^ ImportMembersMapping(
	String^ elementName,
	String^ ns,
	array<XmlReflectionMember^>^ members,
	bool hasWrapperElement,
	bool rpc,
	bool openModel
)

Parameters

elementName
Type: System::String^

An XML element name produced from the Web service method.

ns
Type: System::String^

An XML element namespace produced from the Web service method.

members
Type: array<System.Xml.Serialization::XmlReflectionMember^>^

An array of XmlReflectionMember objects that contain .NET Framework code entities that belong to a Web service method.

hasWrapperElement
Type: System::Boolean

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
Type: System::Boolean

true if the method is a remote procedure call; otherwise, false.

openModel
Type: System::Boolean

true to specify that the generated schema type will be marked with the <xs:anyAttribute> element; otherwise, false.

Return Value

Type: System.Xml.Serialization::XmlMembersMapping^

An XmlMembersMapping that contains the mappings.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft