XmlMappingSource.FromStream Method (Stream)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a mapping source from XML in a stream.

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

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.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: