Graph.LoadAndMerge Method (Stream, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema )
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Loads the graph object model from the given stream and merges it in to the graph.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub LoadAndMerge ( _
stream As Stream, _
progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), _
ParamArray schemas As GraphSchema() _
)
public void LoadAndMerge(
Stream stream,
EventHandler<GraphDeserializationProgressEventArgs> progressHandler,
params GraphSchema[] schemas
)
public:
void LoadAndMerge(
Stream^ stream,
EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler,
... array<GraphSchema^>^ schemas
)
member LoadAndMerge :
stream:Stream *
progressHandler:EventHandler<GraphDeserializationProgressEventArgs> *
schemas:GraphSchema[] -> unit
public function LoadAndMerge(
stream : Stream,
progressHandler : EventHandler<GraphDeserializationProgressEventArgs>,
... schemas : GraphSchema[]
)
Parameters
stream
Type: System.IO.StreamThe stream to load.
progressHandler
Type: System.EventHandler<GraphDeserializationProgressEventArgs>Callback handler for reporting load progress.
schemas
Type: array<Microsoft.VisualStudio.GraphModel.GraphSchema[]The schemas.
.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.