GraphSerializer.Load Method (Stream)
Deserialize 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 _
) As Graph
public static Graph Load(
Stream stream
)
public:
static Graph^ Load(
Stream^ stream
)
static member Load :
stream:Stream -> Graph
public static function Load(
stream : Stream
) : Graph
Parameters
- stream
Type: System.IO.Stream
The stream to deserialize
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.