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.