Share via


ContextNodeCollection Constructor (array<ContextNode[])

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

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.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 named nodeArray.

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

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

System.Windows.Ink Namespace