Modifica

Condividi tramite


XmlSchemaExporter.ExportTypeMapping Method

Definition

Adds an element declaration for an object or type to a SOAP message or an XmlSchema object.

Overloads

ExportTypeMapping(XmlMembersMapping)

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

Adds an element declaration to the applicable XmlSchema object for a single element part of a literal SOAP message definition.

ExportTypeMapping(XmlTypeMapping)

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

Adds an element declaration for a .NET type to the applicable XmlSchema object.

ExportTypeMapping(XmlMembersMapping)

Source:
XmlSchemaExporter.cs
Source:
XmlSchemaExporter.cs
Source:
XmlSchemaExporter.cs

Adds an element declaration to the applicable XmlSchema object for a single element part of a literal SOAP message definition.

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

public:
 System::Xml::XmlQualifiedName ^ ExportTypeMapping(System::Xml::Serialization::XmlMembersMapping ^ xmlMembersMapping);
public System.Xml.XmlQualifiedName? ExportTypeMapping (System.Xml.Serialization.XmlMembersMapping xmlMembersMapping);
public System.Xml.XmlQualifiedName ExportTypeMapping (System.Xml.Serialization.XmlMembersMapping xmlMembersMapping);
member this.ExportTypeMapping : System.Xml.Serialization.XmlMembersMapping -> System.Xml.XmlQualifiedName
Public Function ExportTypeMapping (xmlMembersMapping As XmlMembersMapping) As XmlQualifiedName

Parameters

xmlMembersMapping
XmlMembersMapping

Internal .NET Framework type mappings for the element parts of a Web Services Description Language (WSDL) message definition.

Returns

An XmlQualifiedName that represents the qualified XML name of the exported element declaration.

Remarks

This overload adds an XML schema element declaration to the XmlSchema that uses the same namespace as the SOAP message part. The literal message definition must contain a single part.

Use the ServiceDescriptionReflector class instead.

Applies to

ExportTypeMapping(XmlTypeMapping)

Source:
XmlSchemaExporter.cs
Source:
XmlSchemaExporter.cs
Source:
XmlSchemaExporter.cs

Adds an element declaration for a .NET type to the applicable XmlSchema object.

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

public:
 void ExportTypeMapping(System::Xml::Serialization::XmlTypeMapping ^ xmlTypeMapping);
public void ExportTypeMapping (System.Xml.Serialization.XmlTypeMapping xmlTypeMapping);
member this.ExportTypeMapping : System.Xml.Serialization.XmlTypeMapping -> unit
Public Sub ExportTypeMapping (xmlTypeMapping As XmlTypeMapping)

Parameters

xmlTypeMapping
XmlTypeMapping

The internal mapping between a .NET type and an XML schema element.

Applies to