Redigera

Dela via


XmlMappingSource.FromXml(String) Method

Definition

Creates a mapping source from an XML string.

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

Parameters

xml
String

A string that contains XML.

Returns

The new XML mapping source, as type XmlMappingSource.

Applies to