Sdílet prostřednictvím


InkAnalyzer.SaveResults Method (ContextNodeCollection)

Saves analysis results for a specific context node collection associated with an ink analyzer.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Function SaveResults ( _
    nodes As ContextNodeCollection _
) As Byte()
'Usage
Dim instance As InkAnalyzer 
Dim nodes As ContextNodeCollection 
Dim returnValue As Byte()

returnValue = instance.SaveResults(nodes)
public byte[] SaveResults(
    ContextNodeCollection nodes
)
public:
array<unsigned char>^ SaveResults(
    ContextNodeCollection^ nodes
)
public function SaveResults(
    nodes : ContextNodeCollection
) : byte[]

Parameters

Return Value

Type: array<System.Byte[]
An 8-bit unsigned integer array that contains the saved analysis results.

Remarks

This method saves the current analysis results for nodes and for all of their ancestor and descendant context nodes.

This method throws an exception when any context node in nodes has a ContextNode.PartiallyPopulated value of true.

Examples

This example saves all the analysis results for the ContextNodeCollection, theSelectedNodes. theInkAnalyzer is the InkAnalyzer that contains theSelectedNodes. theSavedResults is an 8-bit unsigned integer array and stores the saved analysis results.

' Save the results for the selected context nodes.
theSavedResults = Me.theInkAnalyzer.SaveResults(theSelectedNodes)
// Save the results for the selected context nodes.
theSavedResults = this.theInkAnalyzer.SaveResults(theSelectedNodes);

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkAnalyzer Class

InkAnalyzer Members

SaveResults Overload

Microsoft.Ink Namespace

InkAnalyzer.Ink

InkAnalyzer.Load

Microsoft.Ink.ContextNode

Microsoft.Ink.Ink