Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the ContextNodeCollection contains a specific ContextNode object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public Function Contains ( _
node As ContextNode _
) As Boolean
'Usage
Dim instance As ContextNodeCollection
Dim node As ContextNode
Dim returnValue As Boolean
returnValue = instance.Contains(node)
public bool Contains(
ContextNode node
)
public:
bool Contains(
ContextNode^ node
)
public function Contains(
node : ContextNode
) : boolean
Parameters
node
Type: Microsoft.Ink.ContextNodeThe ContextNode object to check for.
Return Value
Type: System.Boolean
Whether the ContextNodeCollection contains the specific ContextNode object.
Examples
The following example shows how to check if a specific ContextNode, myNode, is contained in a ContextNodeCollection, nodes.
If nodes.Contains(myNode) Then
MessageBox.Show("The node is in the collection.")
End If
if (nodes.Contains(myNode))
MessageBox.Show("The node is in the collection.");
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