XmlMappingSource.FromReader Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a mapping source from an XML reader.
Namespace: System.Data.Linq.Mapping
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
Public Shared Function FromReader ( _
reader As XmlReader _
) As XmlMappingSource
public static XmlMappingSource FromReader(
XmlReader reader
)
Parameters
- reader
Type: System.Xml.XmlReader
An XML reader.
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.