儲存與筆墨分析器相關聯之特定內容節點集合的分析結果。
命名空間: System.Windows.Ink
組件: IAWinFX (在 IAWinFX.dll 中)
語法
'宣告
Public Sub SaveResults ( _
stream As Stream, _
nodes As ContextNodeCollection _
)
'用途
Dim instance As InkAnalyzer
Dim stream As Stream
Dim nodes As ContextNodeCollection
instance.SaveResults(stream, nodes)
public void SaveResults(
Stream stream,
ContextNodeCollection nodes
)
public:
void SaveResults(
Stream^ stream,
ContextNodeCollection^ nodes
)
public void SaveResults(
Stream stream,
ContextNodeCollection nodes
)
public function SaveResults(
stream : Stream,
nodes : ContextNodeCollection
)
參數
- stream
型別:System.IO.Stream
儲存筆墨分析器結果的資料流。
- nodes
型別:System.Windows.Ink.ContextNodeCollection
已儲存其分析結果的內容節點集合。
備註
這個方法會儲存 nodes 及其所有祖系和子代內容節點的目前分析結果。
這個方法會在 nodes 中任何內容節點的 ContextNode.PartiallyPopulated 值為 true 時,擲回例外狀況。
範例
這個範例會儲存 ContextNodeCollection (名為 theSelectedNodes) 的所有分析結果。theInkAnalyzer 是包含 theSelectedNodes 的 InkAnalyzer。名為 theSavedResults 的 MemoryStream 會存放已儲存的分析結果。
' Save the results for the selected context nodes.
Me.theInkAnalyzer.SaveResults(theSavedResults, theSelectedNodes)
// Save the results for the selected context nodes.
this.theInkAnalyzer.SaveResults(theSavedResults, theSelectedNodes);
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0