Share via


XmlMappingSource.FromXml(String) 方法

定義

從 XML 字串建立對應來源。

public:
 static System::Data::Linq::Mapping::XmlMappingSource ^ FromXml(System::String ^ xml);
public static System.Data.Linq.Mapping.XmlMappingSource FromXml (string xml);
static member FromXml : string -> System.Data.Linq.Mapping.XmlMappingSource
Public Shared Function FromXml (xml As String) As XmlMappingSource

參數

xml
String

包含 XML 的字串。

傳回

新的 XML 對應來源,型別為 XmlMappingSource

適用於