Partager via


Graph.LoadAndMerge Method

Definition

Overloads

LoadAndMerge(XDocument, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])

Loads the graph object model from the given XDocument and merges it in to the graph.

LoadAndMerge(String, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])

Loads the graph object model from the given file and merges it in to the graph.

LoadAndMerge(Stream, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])

Loads the graph object model from the given stream and merges it in to the graph.

LoadAndMerge(String, GraphSchema[])

Loads the graph object model from the given file and merges it in to the graph.

LoadAndMerge(Stream, GraphSchema[])

Loads the graph object model from the given stream and merges it in to the graph.

LoadAndMerge(XDocument, GraphSchema[])

Loads the graph object model from the given XDocument and merges it in to the graph.

LoadAndMerge(XDocument, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])

Loads the graph object model from the given XDocument and merges it in to the graph.

public:
 void LoadAndMerge(System::Xml::Linq::XDocument ^ doc, EventHandler<Microsoft::VisualStudio::GraphModel::GraphDeserializationProgressEventArgs ^> ^ progressHandler, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public void LoadAndMerge (System.Xml.Linq.XDocument doc, EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> progressHandler, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
member this.LoadAndMerge : System.Xml.Linq.XDocument * EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> unit
Public Sub LoadAndMerge (doc As XDocument, progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), ParamArray schemas As GraphSchema())

Parameters

doc
XDocument

The XDocument to load.

progressHandler
EventHandler<GraphDeserializationProgressEventArgs>

Callback handler for reporting load progress

schemas
GraphSchema[]

the schemas

Applies to

LoadAndMerge(String, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])

Loads the graph object model from the given file and merges it in to the graph.

public:
 void LoadAndMerge(System::String ^ filename, EventHandler<Microsoft::VisualStudio::GraphModel::GraphDeserializationProgressEventArgs ^> ^ progressHandler, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public void LoadAndMerge (string filename, EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> progressHandler, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
member this.LoadAndMerge : string * EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> unit
Public Sub LoadAndMerge (filename As String, progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), ParamArray schemas As GraphSchema())

Parameters

filename
String

The graph file to load.

progressHandler
EventHandler<GraphDeserializationProgressEventArgs>

Callback handler for reporting load progress

schemas
GraphSchema[]

the schemas

Applies to

LoadAndMerge(Stream, EventHandler<GraphDeserializationProgressEventArgs>, GraphSchema[])

Loads the graph object model from the given stream and merges it in to the graph.

public:
 void LoadAndMerge(System::IO::Stream ^ stream, EventHandler<Microsoft::VisualStudio::GraphModel::GraphDeserializationProgressEventArgs ^> ^ progressHandler, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public void LoadAndMerge (System.IO.Stream stream, EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> progressHandler, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
member this.LoadAndMerge : System.IO.Stream * EventHandler<Microsoft.VisualStudio.GraphModel.GraphDeserializationProgressEventArgs> * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> unit
Public Sub LoadAndMerge (stream As Stream, progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), ParamArray schemas As GraphSchema())

Parameters

stream
Stream

The stream to load.

progressHandler
EventHandler<GraphDeserializationProgressEventArgs>

Callback handler for reporting load progress

schemas
GraphSchema[]

the schemas

Applies to

LoadAndMerge(String, GraphSchema[])

Loads the graph object model from the given file and merges it in to the graph.

public:
 void LoadAndMerge(System::String ^ filename, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public void LoadAndMerge (string filename, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
member this.LoadAndMerge : string * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> unit
Public Sub LoadAndMerge (filename As String, ParamArray schemas As GraphSchema())

Parameters

filename
String

The graph file to load.

schemas
GraphSchema[]

the schemas

Applies to

LoadAndMerge(Stream, GraphSchema[])

Loads the graph object model from the given stream and merges it in to the graph.

public:
 void LoadAndMerge(System::IO::Stream ^ stream, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public void LoadAndMerge (System.IO.Stream stream, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
member this.LoadAndMerge : System.IO.Stream * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> unit
Public Sub LoadAndMerge (stream As Stream, ParamArray schemas As GraphSchema())

Parameters

stream
Stream

The stream to load.

schemas
GraphSchema[]

the schemas

Applies to

LoadAndMerge(XDocument, GraphSchema[])

Loads the graph object model from the given XDocument and merges it in to the graph.

public:
 void LoadAndMerge(System::Xml::Linq::XDocument ^ doc, ... cli::array <Microsoft::VisualStudio::GraphModel::GraphSchema ^> ^ schemas);
public void LoadAndMerge (System.Xml.Linq.XDocument doc, params Microsoft.VisualStudio.GraphModel.GraphSchema[] schemas);
member this.LoadAndMerge : System.Xml.Linq.XDocument * Microsoft.VisualStudio.GraphModel.GraphSchema[] -> unit
Public Sub LoadAndMerge (doc As XDocument, ParamArray schemas As GraphSchema())

Parameters

doc
XDocument

The XDocument to load.

schemas
GraphSchema[]

the schemas

Applies to