Graph.Load Method (XmlReader, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema )

Loads the graph object model from the given XmlReader.

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

Syntax

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

Parameters

  • reader
    Type: XmlReader

    The XmlReader to deserialize.

Return Value

Type: Microsoft.VisualStudio.GraphModel.Graph
New deserialized Graph object.

.NET Framework Security

See Also

Reference

Graph Class

Load Overload

Microsoft.VisualStudio.GraphModel Namespace