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

参数

返回值

类型:Microsoft.VisualStudio.GraphModel.Graph
新关系图将反序列化对象。

.NET Framework 安全性

请参见

参考

Graph 类

Load 重载

Microsoft.VisualStudio.GraphModel 命名空间