Поделиться через


Graph.Load - метод (TextReader, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema[])

Загружает объектную модель графа из заданных TextReader.

Пространство имен:  Microsoft.VisualStudio.GraphModel
Сборка:  Microsoft.VisualStudio.GraphModel (в Microsoft.VisualStudio.GraphModel.dll)

Синтаксис

'Декларация
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

Параметры

  • reader
    Тип: TextReader

    TextReader, поиск.

  • progressHandler
    Тип: EventHandler<GraphDeserializationProgressEventArgs>

    Обработчик обратного вызова для отображения хода выполнения загрузки.

Возвращаемое значение

Тип: Microsoft.VisualStudio.GraphModel.Graph
Новый эффективной при выполнении десериализацию объект диаграммы.

Безопасность платформы .NET Framework

См. также

Ссылки

Graph Класс

Load - перегрузка

Microsoft.VisualStudio.GraphModel - пространство имен