ReadFrom Method (Stream, Encoding)
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Reads an enumerable collection of edges using an IO stream.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionReadFrom ( _
streamAsStream, _
encodingAsEncoding _
) AsIEnumerable(OfEdge)
'Usage
DimstreamAsStreamDimencodingAsEncodingDimreturnValueAsIEnumerable(OfEdge)
returnValue = Node.ReadFrom(stream, _
encoding)
publicstaticIEnumerable<Edge> ReadFrom(
Streamstream,
Encodingencoding
)
public:
staticIEnumerable<Edge>^ ReadFrom(
Stream^ stream,
Encoding^ encoding
)
publicstaticfunctionReadFrom(
stream : Stream,
encoding : Encoding
) : IEnumerable<Edge>
Parameters
- stream
Type: System.IO. . :: . .Stream
The stream.
- encoding
Type: System.Text. . :: . .Encoding
The stream's encoding.
Return Value
Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'Edge> ) > ) >
The collection of edges.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).