Graph.LoadAndMerge 方法 (Stream, EventHandler<GraphDeserializationProgressEventArgs>, array<GraphSchema[])
從指定的資料流和合併載入圖形物件模型至圖形。
命名空間: Microsoft.VisualStudio.GraphModel
組件: Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)
語法
'宣告
Public Sub LoadAndMerge ( _
stream As Stream, _
progressHandler As EventHandler(Of GraphDeserializationProgressEventArgs), _
ParamArray schemas As GraphSchema() _
)
public void LoadAndMerge(
Stream stream,
EventHandler<GraphDeserializationProgressEventArgs> progressHandler,
params GraphSchema[] schemas
)
public:
void LoadAndMerge(
Stream^ stream,
EventHandler<GraphDeserializationProgressEventArgs^>^ progressHandler,
... array<GraphSchema^>^ schemas
)
member LoadAndMerge :
stream:Stream *
progressHandler:EventHandler<GraphDeserializationProgressEventArgs> *
schemas:GraphSchema[] -> unit
public function LoadAndMerge(
stream : Stream,
progressHandler : EventHandler<GraphDeserializationProgressEventArgs>,
... schemas : GraphSchema[]
)
參數
stream
類型:Stream載入的資料流。
progressHandler
類型:EventHandler<GraphDeserializationProgressEventArgs>報告的載入進度回呼處理常式。
schemas
類型:array<Microsoft.VisualStudio.GraphModel.GraphSchema[]結構描述。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。