SoapReflectionImporter.ImportTypeMapping SoapReflectionImporter.ImportTypeMapping SoapReflectionImporter.ImportTypeMapping Method

Definition

Returns an object that is used to map from a type to an XML representation using the specified type.

Overloads

ImportTypeMapping(Type) ImportTypeMapping(Type) ImportTypeMapping(Type)

Generates a mapping to an XML Schema element for a .NET Framework type.

ImportTypeMapping(Type, String) ImportTypeMapping(Type, String) ImportTypeMapping(Type, String)

Generates a mapping to an XML Schema element for a .NET Framework type.

ImportTypeMapping(Type) ImportTypeMapping(Type) ImportTypeMapping(Type)

Generates a mapping to an XML Schema element for a .NET Framework type.

public:
 System::Xml::Serialization::XmlTypeMapping ^ ImportTypeMapping(Type ^ type);
public System.Xml.Serialization.XmlTypeMapping ImportTypeMapping (Type type);
member this.ImportTypeMapping : Type -> System.Xml.Serialization.XmlTypeMapping

Parameters

type
Type Type Type

The .NET Framework type for which to generate a type mapping.

Returns

Internal .NET Framework mapping of a type to an XML Schema element.

Remarks

The XML Schema element is serialized using SOAP encoding.

You do not need to call the ImportTypeMapping method directly.

ImportTypeMapping(Type, String) ImportTypeMapping(Type, String) ImportTypeMapping(Type, String)

Generates a mapping to an XML Schema element for a .NET Framework type.

public:
 System::Xml::Serialization::XmlTypeMapping ^ ImportTypeMapping(Type ^ type, System::String ^ defaultNamespace);
public System.Xml.Serialization.XmlTypeMapping ImportTypeMapping (Type type, string defaultNamespace);
member this.ImportTypeMapping : Type * string -> System.Xml.Serialization.XmlTypeMapping

Parameters

type
Type Type Type

The .NET Framework type for which to generate a type mapping.

defaultNamespace
String String String

The default XML namespace to use.

Returns

Internal .NET Framework mapping of a type to an XML Schema element.

Remarks

The XML Schema element is serialized using SOAP encoding.

You do not need to call the ImportTypeMapping method directly.

Applies to