Partilhar via


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

Carrega um novo objeto do arquivo gráfico de dado.

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

Sintaxe

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

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.GraphModel.Graph
o gráfico, se carregado.

Segurança do .NET Framework

Consulte também

Referência

Graph Classe

Sobrecargas Load

Namespace Microsoft.VisualStudio.GraphModel