Graph::Parse Method (String^, EventHandler<GraphDeserializationProgressEventArgs^>^, array<GraphSchema^>^)

 

Loads a new Graph object from the given in-memory string that contains DGML markup.

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

public:
static Graph^ Parse(
	String^ dgml,
	EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler,
	... array<GraphSchema^>^ schemas
)

Parameters

dgml
Type: System::String^

The DGML text to load.

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^

The Graph for the given DGML.

Return to top
Show: