共用方式為


XmlMappingSource.FromStream(Stream) 方法

定義

從資料流中的 XML 建立對應來源。

public:
 static System::Data::Linq::Mapping::XmlMappingSource ^ FromStream(System::IO::Stream ^ stream);
public static System.Data.Linq.Mapping.XmlMappingSource FromStream (System.IO.Stream stream);
static member FromStream : System.IO.Stream -> System.Data.Linq.Mapping.XmlMappingSource
Public Shared Function FromStream (stream As Stream) As XmlMappingSource

參數

stream
Stream

XML 的資料流。

傳回

新的 XML 對應來源,型別為 XmlMappingSource

適用於