XmlMappingSource.FromXml Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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
- xml
Type: System.String
A string that contains XML.
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.