Compartir a través de


ReadFrom Method (Func(GraphStore), 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.]

Creates a GraphStore using a delegate and populates it from an encoded stream.

Namespace:  System.Dataflow
Assembly:  System.Dataflow (in System.Dataflow.dll)

Syntax

'Declaration
PublicSharedFunctionReadFrom ( _
    createDocAsFunc(OfGraphStore), _
    streamAsStream, _
    encodingAsEncoding _
) AsGraphStore
'Usage
DimcreateDocAsFunc(OfGraphStore)
DimstreamAsStreamDimencodingAsEncodingDimreturnValueAsGraphStorereturnValue = GraphStore.ReadFrom(createDoc, _
    stream, encoding)
publicstaticGraphStoreReadFrom(
    Func<GraphStore> createDoc,
    Streamstream,
    Encodingencoding
)
public:
staticGraphStore^ ReadFrom(
    Func<GraphStore^>^ createDoc, 
    Stream^ stream, 
    Encoding^ encoding
)
publicstaticfunctionReadFrom(
    createDoc : Func<GraphStore>, 
    stream : Stream, 
    encoding : Encoding
) : GraphStore

Parameters

Return Value

Type: System.Dataflow. . :: . .GraphStore
The graph store.

.NET Framework Security

See Also

Reference

GraphStore Class

GraphStore Members

ReadFrom Overload

System.Dataflow Namespace