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.
Gets the ContextNode object with a specified GUID belonging to the ContextNodeCollection.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
nodeId As Guid _
) As ContextNode
'Usage
Dim instance As ContextNodeCollection
Dim nodeId As Guid
Dim value As ContextNode
value = instance.Item(nodeId)
public ContextNode this[
Guid nodeId
] { get; }
public:
property ContextNode^ Item[Guid nodeId] {
ContextNode^ get (Guid nodeId);
}
JScript does not support indexed properties.
Parameters
nodeId
Type: System.GuidThe GUID identifying the selected ContextNode object.
Property Value
Type: System.Windows.Ink.ContextNode
The ContextNode object with the specified GUID.
Remarks
You can access the Item property by using the collection's indexer, as shown in the example.
An ArgumentException is thrown if nodeId does not match an existing member of the ContextNodeCollection collection.
Examples
The following example gets a node in a ContextNodeCollection named nodes by using a Guid named nodeGuid.
Dim node As ContextNode = nodes(nodeGuid)
ContextNode 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