Graph.LoadAndMerge Method (String, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema )

Loads the graph object model from the given file 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 ( _
    filename As String, _
    progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), _
    ParamArray schemas As GraphSchema() _
)
public void LoadAndMerge(
    string filename,
    EventHandler<GraphDeserializationProgressEventArgs> progressHandler,
    params GraphSchema[] schemas
)
public:
void LoadAndMerge(
    String^ filename, 
    EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler, 
    ... array<GraphSchema^>^ schemas
)
member LoadAndMerge : 
        filename:string * 
        progressHandler:EventHandler<GraphDeserializationProgressEventArgs> * 
        schemas:GraphSchema[] -> unit
public function LoadAndMerge(
    filename : String, 
    progressHandler : EventHandler<GraphDeserializationProgressEventArgs>, 
    ... schemas : GraphSchema[]
)

Parameters

  • filename
    Type: String

    The graph file to load.

.NET Framework Security

See Also

Reference

Graph Class

LoadAndMerge Overload

Microsoft.VisualStudio.GraphModel Namespace