Graph.Load Method (Stream, array<GraphSchema )

Loads the graph object model from the given stream.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Shared Function Load ( _
    stream As Stream, _
    ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Load(
    Stream stream,
    params GraphSchema[] schemas
)
public:
static Graph^ Load(
    Stream^ stream, 
    ... array<GraphSchema^>^ schemas
)
static member Load : 
        stream:Stream * 
        schemas:GraphSchema[] -> Graph
public static function Load(
    stream : Stream, 
    ... schemas : GraphSchema[]
) : Graph

Parameters

  • stream
    Type: Stream

    The stream to deserialize.

Return Value

Type: Microsoft.VisualStudio.GraphModel.Graph
New deserialized Graph object.

.NET Framework Security

See Also

Reference

Graph Class

Load Overload

Microsoft.VisualStudio.GraphModel Namespace