XsdDataContractImporter::Import Method (XmlSchemaSet^, XmlSchemaElement^)
.NET Framework (current version)
Transforms the specified schema element in the set of specified XML schemas into a CodeCompileUnit and returns an XmlQualifiedName that represents the data contract name for the specified element.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- schemas
-
Type:
System.Xml.Schema::XmlSchemaSet^
An XmlSchemaSet that contains the schemas to transform.
- element
-
Type:
System.Xml.Schema::XmlSchemaElement^
An XmlSchemaElement that represents the specific schema element to transform.
Return Value
Type: System.Xml::XmlQualifiedName^An XmlQualifiedName that represents the specified element.
| Exception | Condition |
|---|---|
| ArgumentNullException | The schemas or element parameter is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: