SoapCodeExporter::AddMappingMetadata Method (CodeAttributeDeclarationCollection^, XmlMemberMapping^)

 

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

Add a SoapElementAttribute declaration to a method parameter or return value corresponding to a part element of a SOAP message definition in a WSDL document.

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

public:
void AddMappingMetadata(
	CodeAttributeDeclarationCollection^ metadata,
	XmlMemberMapping^ member
)

Parameters

metadata
Type: System.CodeDom::CodeAttributeDeclarationCollection^

The collection of CodeAttributeDeclaration objects for the generated type, to which the method adds an attribute declaration.

member
Type: System.Xml.Serialization::XmlMemberMapping^

An internal .NET Framework type mapping for a single part of a WSDL message definition.

This method is used by the Wsdl.exe tool when a WSDL document specifies SOAP encoding, as described in Section 5 of the SOAP 1.1 specification.

.NET Framework
Available since 1.1
Return to top
Show: