XmlSchemaExporter.ExportAnyType Method

Definition

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 <any> element to the XmlSchema object that is identified by the specified namespace.

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)

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

String

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)

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

String

The string "any" with an appended integer.

Applies to