This documentation is archived and is not being maintained.

XsdDataContractImporter.CanImport Method

Gets a value that indicates whether the schemas can be transformed into a CodeCompileUnit.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method CanImport(XmlSchemaSet) Gets a value that indicates whether the schemas contained in an XmlSchemaSet can be transformed into a CodeCompileUnit.
Public method CanImport(XmlSchemaSet, ICollection<XmlQualifiedName>) Gets a value that indicates whether the specified set of types contained in an XmlSchemaSet can be transformed into CLR types generated into a CodeCompileUnit.
Public method CanImport(XmlSchemaSet, XmlSchemaElement) Gets a value that indicates whether a specific schema element contained in an XmlSchemaSet can be imported.
Public method CanImport(XmlSchemaSet, XmlQualifiedName) Gets a value that indicates whether the schemas contained in an XmlSchemaSet can be transformed into a CodeCompileUnit.
Top

For more information about types that can be imported, see Types Supported by the Data Contract Serializer.

Show: