Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a SoapElementAttribute declaration to a method parameter or return value that corresponds to a part element of a SOAP message definition in a WSDL document.
AddMappingMetadata(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. |
AddMappingMetadata(CodeAttributeDeclarationCollection, XmlMemberMapping, Boolean) |
This API supports the product infrastructure and is not intended to be used directly from your code. Adds a SoapElementAttribute declaration to a method parameter or return value that corresponds to a part element of a SOAP message definition in a WSDL document. |
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.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void AddMappingMetadata(System::CodeDom::CodeAttributeDeclarationCollection ^ metadata, System::Xml::Serialization::XmlMemberMapping ^ member);
public void AddMappingMetadata(System.CodeDom.CodeAttributeDeclarationCollection metadata, System.Xml.Serialization.XmlMemberMapping member);
member this.AddMappingMetadata : System.CodeDom.CodeAttributeDeclarationCollection * System.Xml.Serialization.XmlMemberMapping -> unit
Public Sub AddMappingMetadata (metadata As CodeAttributeDeclarationCollection, member As XmlMemberMapping)
The collection of CodeAttributeDeclaration objects for the generated type, to which the method adds an attribute declaration.
An internal .NET 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.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Adds a SoapElementAttribute declaration to a method parameter or return value that corresponds to a part element of a SOAP message definition in a WSDL document.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
void AddMappingMetadata(System::CodeDom::CodeAttributeDeclarationCollection ^ metadata, System::Xml::Serialization::XmlMemberMapping ^ member, bool forceUseMemberName);
public void AddMappingMetadata(System.CodeDom.CodeAttributeDeclarationCollection metadata, System.Xml.Serialization.XmlMemberMapping member, bool forceUseMemberName);
member this.AddMappingMetadata : System.CodeDom.CodeAttributeDeclarationCollection * System.Xml.Serialization.XmlMemberMapping * bool -> unit
Public Sub AddMappingMetadata (metadata As CodeAttributeDeclarationCollection, member As XmlMemberMapping, forceUseMemberName As Boolean)
The collection of CodeAttributeDeclaration objects for the generated type to which the method adds an attribute declaration.
An internal .NET type mapping for a single part of a WSDL message definition.
true
to add an initial argument that contains the XML element name for the attribute declaration that is being generated; otherwise, false
.
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.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in