共用方式為


Graph.LoadAndMerge 方法 (String, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema )

載入圖形物件模型從指定檔案並合併至圖形。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Sub LoadAndMerge ( _
    filename As String, _
    progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), _
    ParamArray schemas As GraphSchema() _
)
public void LoadAndMerge(
    string filename,
    EventHandler<GraphDeserializationProgressEventArgs> progressHandler,
    params GraphSchema[] schemas
)
public:
void LoadAndMerge(
    String^ filename, 
    EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler, 
    ... array<GraphSchema^>^ schemas
)
member LoadAndMerge : 
        filename:string * 
        progressHandler:EventHandler<GraphDeserializationProgressEventArgs> * 
        schemas:GraphSchema[] -> unit 
public function LoadAndMerge(
    filename : String, 
    progressHandler : EventHandler<GraphDeserializationProgressEventArgs>, 
    ... schemas : GraphSchema[]
)

參數

.NET Framework 安全性

請參閱

參考

Graph 類別

LoadAndMerge 多載

Microsoft.VisualStudio.GraphModel 命名空間