Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), _
ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Load(
Stream stream,
EventHandler<GraphDeserializationProgressEventArgs> progressHandler,
params GraphSchema[] schemas
)
public:
static Graph^ Load(
Stream^ stream,
EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler,
... array<GraphSchema^>^ schemas
)
static member Load :
stream:Stream *
progressHandler:EventHandler<GraphDeserializationProgressEventArgs> *
schemas:GraphSchema[] -> Graph
public static function Load(
stream : Stream,
progressHandler : EventHandler<GraphDeserializationProgressEventArgs>,
... schemas : GraphSchema[]
) : Graph
Parameters
stream
Type: StreamThe stream to deserialize.
progressHandler
Type: EventHandler<GraphDeserializationProgressEventArgs>Callback handler for reporting load progress.
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.