XmlSchemaImporter.ImportSchemaType Method

Definition

Generates internal type mapping information for an element defined in an XML schema document.

Overloads

ImportSchemaType(XmlQualifiedName)

This API supports the product infrastructure and is not intended to be used directly from your code.

Generates internal type mapping information for an element defined in an XML schema document.

ImportSchemaType(XmlQualifiedName, Type)

This API supports the product infrastructure and is not intended to be used directly from your code.

Generates internal type mapping information for an element defined in an XML schema document.

ImportSchemaType(XmlQualifiedName, Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code.

Generates internal type mapping information for an element defined in an XML schema document.

ImportSchemaType(XmlQualifiedName)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

Generates internal type mapping information for an element defined in an XML schema document.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 System::Xml::Serialization::XmlTypeMapping ^ ImportSchemaType(System::Xml::XmlQualifiedName ^ typeName);
public System.Xml.Serialization.XmlTypeMapping ImportSchemaType (System.Xml.XmlQualifiedName typeName);
member this.ImportSchemaType : System.Xml.XmlQualifiedName -> System.Xml.Serialization.XmlTypeMapping
Public Function ImportSchemaType (typeName As XmlQualifiedName) As XmlTypeMapping

Parameters

typeName
XmlQualifiedName

A XmlQualifiedName that specifies an XML element.

Returns

A XmlTypeMapping object that describes a type mapping.

Applies to

ImportSchemaType(XmlQualifiedName, Type)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

Generates internal type mapping information for an element defined in an XML schema document.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 System::Xml::Serialization::XmlTypeMapping ^ ImportSchemaType(System::Xml::XmlQualifiedName ^ typeName, Type ^ baseType);
public System.Xml.Serialization.XmlTypeMapping ImportSchemaType (System.Xml.XmlQualifiedName typeName, Type? baseType);
public System.Xml.Serialization.XmlTypeMapping ImportSchemaType (System.Xml.XmlQualifiedName typeName, Type baseType);
member this.ImportSchemaType : System.Xml.XmlQualifiedName * Type -> System.Xml.Serialization.XmlTypeMapping
Public Function ImportSchemaType (typeName As XmlQualifiedName, baseType As Type) As XmlTypeMapping

Parameters

typeName
XmlQualifiedName

A XmlQualifiedName that specifies an XML element.

baseType
Type

A Type object that specifies a base type.

Returns

A XmlTypeMapping object that describes a type mapping.

Applies to

ImportSchemaType(XmlQualifiedName, Type, Boolean)

Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs
Source:
XmlSchemaImporter.cs

Generates internal type mapping information for an element defined in an XML schema document.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 System::Xml::Serialization::XmlTypeMapping ^ ImportSchemaType(System::Xml::XmlQualifiedName ^ typeName, Type ^ baseType, bool baseTypeCanBeIndirect);
public System.Xml.Serialization.XmlTypeMapping ImportSchemaType (System.Xml.XmlQualifiedName typeName, Type? baseType, bool baseTypeCanBeIndirect);
public System.Xml.Serialization.XmlTypeMapping ImportSchemaType (System.Xml.XmlQualifiedName typeName, Type baseType, bool baseTypeCanBeIndirect);
member this.ImportSchemaType : System.Xml.XmlQualifiedName * Type * bool -> System.Xml.Serialization.XmlTypeMapping
Public Function ImportSchemaType (typeName As XmlQualifiedName, baseType As Type, baseTypeCanBeIndirect As Boolean) As XmlTypeMapping

Parameters

typeName
XmlQualifiedName

A XmlQualifiedName that specifies an XML element.

baseType
Type

A Type object that specifies a base type.

baseTypeCanBeIndirect
Boolean

A Boolean value that specifies whether the generated type can indirectly inherit the baseType.

Returns

A XmlTypeMapping object that describes a type mapping.

Applies to