SoapReflectionImporter.ImportTypeMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object that is used to map from a type to an XML representation using the specified type.
Overloads
ImportTypeMapping(Type) |
Generates a mapping to an XML Schema element for a .NET type. |
ImportTypeMapping(Type, String) |
Generates a mapping to an XML Schema element for a .NET type. |
ImportTypeMapping(Type)
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
Generates a mapping to an XML Schema element for a .NET 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
Public Function ImportTypeMapping (type As Type) As XmlTypeMapping
Parameters
- type
- Type
The .NET type for which to generate a type mapping.
Returns
Internal .NET 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
ImportTypeMapping(Type, String)
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
- Source:
- SoapReflectionImporter.cs
Generates a mapping to an XML Schema element for a .NET type.
public:
System::Xml::Serialization::XmlTypeMapping ^ ImportTypeMapping(Type ^ type, System::String ^ defaultNamespace);
public System.Xml.Serialization.XmlTypeMapping ImportTypeMapping (Type type, string? defaultNamespace);
public System.Xml.Serialization.XmlTypeMapping ImportTypeMapping (Type type, string defaultNamespace);
member this.ImportTypeMapping : Type * string -> System.Xml.Serialization.XmlTypeMapping
Public Function ImportTypeMapping (type As Type, defaultNamespace As String) As XmlTypeMapping
Parameters
- type
- Type
The .NET type for which to generate a type mapping.
- defaultNamespace
- String
The default XML namespace to use.
Returns
Internal .NET 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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기