Graph::Load Method (TextReader^, EventHandler<GraphDeserializationProgressEventArgs^>^, array<GraphSchema^>^)

 

Loads the graph object model from the given TextReader.

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

public:
static Graph^ Load(
	TextReader^ reader,
	EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler,
	... array<GraphSchema^>^ schemas
)

Parameters

reader
Type: System.IO::TextReader^

The TextReader to deserialize.

progressHandler
Type: System::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.

Return to top
Show: