XsdDataContractImporter.CanImport Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

NameDescription
System_CAPS_pubmethodCanImport(XmlSchemaSet)

Gets a value that indicates whether the schemas contained in an XmlSchemaSet can be transformed into a CodeCompileUnit.

System_CAPS_pubmethodCanImport(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.

System_CAPS_pubmethodCanImport(XmlSchemaSet, XmlQualifiedName)

Gets a value that indicates whether the schemas contained in an XmlSchemaSet can be transformed into a CodeCompileUnit.

System_CAPS_pubmethodCanImport(XmlSchemaSet, XmlSchemaElement)

Gets a value that indicates whether a specific schema element contained in an XmlSchemaSet can be imported.

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

Return to top
Show: