Graph.Load Method (TextReader, array<GraphSchema )
Loads the graph object model from the given TextReader.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Shared Function Load ( _
reader As TextReader, _
ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Load(
TextReader reader,
params GraphSchema[] schemas
)
public:
static Graph^ Load(
TextReader^ reader,
... array<GraphSchema^>^ schemas
)
static member Load :
reader:TextReader *
schemas:GraphSchema[] -> Graph
public static function Load(
reader : TextReader,
... schemas : GraphSchema[]
) : Graph
Parameters
reader
Type: TextReaderThe TextReader to deserialize.
schemas
Type: array<Microsoft.VisualStudio.GraphModel.GraphSchema[]The schemas.
Return Value
Type: Microsoft.VisualStudio.GraphModel.Graph
New deserialized Graph object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.