Sdílet prostřednictvím


ContextNodeCollection Constructor (array<ContextNode[])

Initializes a new instance of the ContextNodeCollection class and populates it with an array of ContextNode objects.

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

Syntax

'Declaration
Public Sub New ( _
    nodes As ContextNode() _
)
'Usage
Dim nodes As ContextNode()

Dim instance As New ContextNodeCollection(nodes)
public ContextNodeCollection(
    ContextNode[] nodes
)
public:
ContextNodeCollection(
    array<ContextNode^>^ nodes
)
public function ContextNodeCollection(
    nodes : ContextNode[]
)

Parameters

Examples

The following example shows how to create a ContextNodeCollection from an array of ContextNode objects, nodeArray.

Dim nodes As New ContextNodeCollection(nodeArray)
           ContextNodeCollection nodes = new ContextNodeCollection(nodeArray);

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