XmlMappingSource.FromXml Method

Creates a mapping source from an XML string.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

'Declaration
Public Shared Function FromXml ( _
    xml As String _
) As XmlMappingSource
public static XmlMappingSource FromXml(
    string xml
)

Parameters

Return Value

Type: System.Data.Linq.Mapping.XmlMappingSource
The new XML mapping source, as type XmlMappingSource.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.