XsdDataContractImporter::Import Method (XmlSchemaSet^, XmlQualifiedName^)

 

Transforms the specified XML schema type contained in an XmlSchemaSet into a CodeCompileUnit.

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

public:
void Import(
	XmlSchemaSet^ schemas,
	XmlQualifiedName^ typeName
)

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
Return to top
Show: