Share via


ReadFrom Method (String, 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 and populates a DefaultGraphStore from a file with encoded text.

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

Syntax

'Declaration
PublicSharedFunctionReadFrom ( _
    filePathAsString, _
    encodingAsEncoding _
) AsGraphStore
'Usage
DimfilePathAsStringDimencodingAsEncodingDimreturnValueAsGraphStorereturnValue = GraphStore.ReadFrom(filePath, _
    encoding)
publicstaticGraphStoreReadFrom(
    stringfilePath,
    Encodingencoding
)
public:
staticGraphStore^ ReadFrom(
    String^ filePath, 
    Encoding^ encoding
)
publicstaticfunctionReadFrom(
    filePath : String, 
    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