Partilhar via


Método Graph.Load (TextReader, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema )

Carrega o modelo de objeto de gráfico de TextReader dado.

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

Sintaxe

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

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.GraphModel.Graph
Novo objeto desserializado de gráfico.

Segurança do .NET Framework

Consulte também

Referência

Graph Classe

Sobrecargas Load

Namespace Microsoft.VisualStudio.GraphModel