ReadFromString Method (Func(GraphStore), String)
[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 a string.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicSharedFunctionReadFromString ( _
createDocAsFunc(OfGraphStore), _
textAsString _
) AsGraphStore
'Usage
DimcreateDocAsFunc(OfGraphStore)
DimtextAsStringDimreturnValueAsGraphStorereturnValue = GraphStore.ReadFromString(createDoc, _
text)
publicstaticGraphStoreReadFromString(
Func<GraphStore> createDoc,
stringtext
)
public:
staticGraphStore^ ReadFromString(
Func<GraphStore^>^ createDoc,
String^ text
)
publicstaticfunctionReadFromString(
createDoc : Func<GraphStore>,
text : String
) : GraphStore
Parameters
- createDoc
Type: System. . :: . .Func< (Of < ( <'GraphStore> ) > ) >
The delegate that creates the graph store.
- text
Type: System. . :: . .String
The string.
Return Value
Type: System.Dataflow. . :: . .GraphStore
The graph store.
.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).