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.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionReadFrom ( _
streamAsStream, _
encodingAsEncoding _
) AsGraphStore
'Usage
DimstreamAsStreamDimencodingAsEncodingDimreturnValueAsGraphStorereturnValue = GraphStore.ReadFrom(stream, _
encoding)
publicstaticGraphStoreReadFrom(
Streamstream,
Encodingencoding
)
public:
staticGraphStore^ ReadFrom(
Stream^ stream,
Encoding^ encoding
)
publicstaticfunctionReadFrom(
stream : Stream,
encoding : Encoding
) : GraphStore
Parameters
- stream
Type: System.IO. . :: . .Stream
- encoding
Type: System.Text. . :: . .Encoding
Return Value
Type: System.Dataflow. . :: . .GraphStore
.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).