Share via


ContextNodeBaseCollection.Item Property (Guid)

Gets the ContextNodeBase object with a specified GUID identifier within the ContextNodeBaseCollection.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    nodeId As Guid _
) As ContextNodeBase
'Usage
Dim instance As ContextNodeBaseCollection 
Dim nodeId As Guid 
Dim value As ContextNodeBase 

value = instance.Item(nodeId)
public ContextNodeBase this[
    Guid nodeId
] { get; }
public:
property ContextNodeBase^ Item[Guid nodeId] {
    ContextNodeBase^ get (Guid nodeId);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Windows.Ink.AnalysisCore.ContextNodeBase
The ContextNodeBase object with the specified GUID identifier.

Remarks

You can gain access to Item by using the Guid identifier as indexer as shown in the following example.

An ArgumentException is thrown if the id does not match an existing member of the ContextNodeBaseCollection collection.

Examples

The following example gets a node in a ContextNodeBaseCollection named nodes, by using a Guid named nodeGuid.

Dim node As ContextNodeBase = nodes(nodeGuid)
            ContextNodeBase node = nodes[nodeGuid];

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

ContextNodeBaseCollection Class

ContextNodeBaseCollection Members

Item Overload

System.Windows.Ink.AnalysisCore Namespace