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