XmlSerializerOperationBehavior.GetXmlMappings 方法

定义

获取 XML 架构元素和 CLR 数据类型之间的映射集合。

public:
 System::Collections::ObjectModel::Collection<System::Xml::Serialization::XmlMapping ^> ^ GetXmlMappings();
public System.Collections.ObjectModel.Collection<System.Xml.Serialization.XmlMapping> GetXmlMappings ();
member this.GetXmlMappings : unit -> System.Collections.ObjectModel.Collection<System.Xml.Serialization.XmlMapping>
Public Function GetXmlMappings () As Collection(Of XmlMapping)

返回

Collection<XmlMapping>

一个包含映射的 Collection<T>XmlMapping

适用于