XsdDataContractImporter.Import Method (XmlSchemaSet, ICollection<XmlQualifiedName>)

 

Transforms the specified set of schema types contained in an XmlSchemaSet into CLR types generated into a CodeCompileUnit.

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

public void Import(
	XmlSchemaSet schemas,
	ICollection<XmlQualifiedName> typeNames
)

Parameters

schemas
Type: System.Xml.Schema.XmlSchemaSet

A XmlSchemaSet that contains the schema representations.

typeNames
Type: System.Collections.Generic.ICollection<XmlQualifiedName>

A ICollection<T> (of XmlQualifiedName) that represents the set of schema types to import.

.NET Framework
Available since 3.0
Return to top
Show: