Share via


ReadFrom(T) 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 GraphStore from a file with encoded text.

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

Syntax

'Declaration
PublicSharedFunctionReadFrom(Of T As {New, GraphStore}) ( _
    filePathAsString, _
    encodingAsEncoding _
) As T
'Usage
DimfilePathAsStringDimencodingAsEncodingDimreturnValueAs T

returnValue = GraphStore.ReadFrom(filePath, _
    encoding)
publicstatic T ReadFrom<T>(
    stringfilePath,
    Encodingencoding
)
where T : new(), GraphStore
public:
generic<typename T>
where T : gcnew(), GraphStorestatic T ReadFrom(
    String^ filePath, 
    Encoding^ encoding
)
JScript does not support generic types or methods.

Type Parameters

  • T
    The graph store.

Parameters

Return Value

Type: T
The graph store.

.NET Framework Security

See Also

Reference

GraphStore Class

GraphStore Members

ReadFrom< (Of < <' (T> ) > > ) Overload

System.Dataflow Namespace