Sdílet prostřednictvím


ContextNodeCollection Constructor (InkAnalyzer)

Initializes a new instance of the ContextNodeCollection class with no nodes.

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

Syntax

'Declaration
Public Sub New ( _
    analyzer As InkAnalyzer _
)
'Usage
Dim analyzer As InkAnalyzer 

Dim instance As New ContextNodeCollection(analyzer)
public ContextNodeCollection(
    InkAnalyzer analyzer
)
public:
ContextNodeCollection(
    InkAnalyzer^ analyzer
)
public function ContextNodeCollection(
    analyzer : InkAnalyzer
)

Parameters

Remarks

An exception is thrown if node is not part of the tree.

Examples

The following example shows how to create an empty ContextNodeCollection using an InkAnalyzer, theInkAnalyzer.

Dim newNodes As New ContextNodeCollection(theInkAnalyzer)
ContextNodeCollection newNodes = new ContextNodeCollection(theInkAnalyzer);

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

ContextNodeCollection Class

ContextNodeCollection Members

ContextNodeCollection Overload

Microsoft.Ink Namespace