XsdDataContractImporter::Import Method (XmlSchemaSet^, XmlQualifiedName^)
.NET Framework (current version)
Transforms the specified XML schema type contained in an XmlSchemaSet into a CodeCompileUnit.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- schemas
-
Type:
System.Xml.Schema::XmlSchemaSet^
A XmlSchemaSet that contains the schema representations.
- typeName
-
Type:
System.Xml::XmlQualifiedName^
A XmlQualifiedName that represents a specific schema type to import.
| Exception | Condition |
|---|---|
| ArgumentNullException | The schemas or typeName parameter is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: