XmlSchemaExporter.ExportAnyType 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 to an XmlSchema object.
Overloads
ExportAnyType(String) |
This API supports the product infrastructure and is not intended to be used directly from your code. Exports an |
ExportAnyType(XmlMembersMapping) |
This API supports the product infrastructure and is not intended to be used directly from your code. Adds an element declaration for an object or type to a SOAP message or to an XmlSchema object. |
ExportAnyType(String)
- Source:
- XmlSchemaExporter.cs
- Source:
- XmlSchemaExporter.cs
- Source:
- XmlSchemaExporter.cs
Exports an <any>
element to the XmlSchema object that is identified by the specified namespace.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::String ^ ExportAnyType(System::String ^ ns);
public string ExportAnyType (string? ns);
public string ExportAnyType (string ns);
member this.ExportAnyType : string -> string
Public Function ExportAnyType (ns As String) As String
Parameters
- ns
- String
The namespace of the XML schema document to which to add an <any>
element.
Returns
An arbitrary name assigned to the <any>
element declaration.
Remarks
You do not need to call the method directly.
The ServiceDescriptionReflector creates ServiceDescription objects from classes that are identified as Web services.
A field or property of type XmlElement, with an attribute XmlAnyElementAttribute, is translated into an <any> element.
Applies to
ExportAnyType(XmlMembersMapping)
- Source:
- XmlSchemaExporter.cs
- Source:
- XmlSchemaExporter.cs
- Source:
- XmlSchemaExporter.cs
Adds an element declaration for an object or type to a SOAP message or to an XmlSchema object.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::String ^ ExportAnyType(System::Xml::Serialization::XmlMembersMapping ^ members);
public string? ExportAnyType (System.Xml.Serialization.XmlMembersMapping members);
public string ExportAnyType (System.Xml.Serialization.XmlMembersMapping members);
member this.ExportAnyType : System.Xml.Serialization.XmlMembersMapping -> string
Public Function ExportAnyType (members As XmlMembersMapping) As String
Parameters
- members
- XmlMembersMapping
An XmlMembersMapping that contains mappings to export.
Returns
The string "any" with an appended integer.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기