XmlSchemaExporter.ExportAnyType Method (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.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public string ExportAnyType(
	string ns


Type: System.String

The namespace of the XML schema document to which to add an <any> element.

Return Value

Type: System.String

An arbitrary name assigned to the <any> element declaration.

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.

.NET Framework
Available since 1.1
Return to top