XmlSchemaImporter.ImportAnyType(XmlQualifiedName, String) 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.
Generates internal type mapping information for a single, (SOAP) literal element part defined in a WSDL document.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Xml::Serialization::XmlMembersMapping ^ ImportAnyType(System::Xml::XmlQualifiedName ^ typeName, System::String ^ elementName);
public System.Xml.Serialization.XmlMembersMapping? ImportAnyType (System.Xml.XmlQualifiedName typeName, string elementName);
public System.Xml.Serialization.XmlMembersMapping ImportAnyType (System.Xml.XmlQualifiedName typeName, string elementName);
member this.ImportAnyType : System.Xml.XmlQualifiedName * string -> System.Xml.Serialization.XmlMembersMapping
Public Function ImportAnyType (typeName As XmlQualifiedName, elementName As String) As XmlMembersMapping
Parameters
- typeName
- XmlQualifiedName
An XmlQualifiedName that specifies the name of an element's type for which a .NET Framework type is generated.
- elementName
- String
The name of the part element in the WSDL document.
Returns
An XmlMembersMapping representing the .NET Framework type mapping for a single element part of a WSDL message definition.
Remarks
The ImportAnyType method is used by the Wsdl.exe tool while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. Instead of calling this method directly, use Wsdl.exe or Xsd.exe.
The XmlSchemaImporter class is used only when a WSDL document specifies literal use. The ImportAnyType method is used when a WSDL message has a single part element but the part has not been identified as a wrapper element.