Share via


Graph.Parse Method (String, 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 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)

Syntax

'Declaration
Public Shared Function Parse ( _
    dgml As String, _
    progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), _
    ParamArray schemas As GraphSchema() _
) As Graph
public static Graph Parse(
    string dgml,
    EventHandler<GraphDeserializationProgressEventArgs> progressHandler,
    params GraphSchema[] schemas
)
public:
static Graph^ Parse(
    String^ dgml, 
    EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler, 
    ... array<GraphSchema^>^ schemas
)
static member Parse : 
        dgml:string * 
        progressHandler:EventHandler<GraphDeserializationProgressEventArgs> * 
        schemas:GraphSchema[] -> Graph
public static function Parse(
    dgml : String, 
    progressHandler : EventHandler<GraphDeserializationProgressEventArgs>, 
    ... schemas : GraphSchema[]
) : Graph

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.Graph
The Graph for the given DGML.

.NET Framework Security

See Also

Reference

Graph Class

Parse Overload

Microsoft.VisualStudio.GraphModel Namespace