XmlSchemaExporter.ExportTypeMapping Method
Definition
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.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기