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[]
)
參數
- filename
型別:System.String
載入的圖形檔案。
- progressHandler
型別:System.EventHandler<GraphDeserializationProgressEventArgs>
報告的載入處理序中回呼處理常式。
- schemas
型別:array<Microsoft.VisualStudio.GraphModel.GraphSchema[]
結構描述。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。