Поделиться через


ContextNodeCollection.Item - свойство (Int32)

Обновлен: Ноябрь 2007

Gets the ContextNode object at the specified index within the ContextNodeCollection.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink.Analysis (в Microsoft.Ink.Analysis.dll)

Синтаксис

'Декларация
Public ReadOnly Property Item ( _
    index As Integer _
) As ContextNode
'Применение
Dim instance As ContextNodeCollection
Dim index As Integer
Dim value As ContextNode

value = instance.Item(index)
public ContextNode Item[
    int index
] { get; }
public:
property ContextNode^ Item[int index] {
    ContextNode^ get (int index);
}
/** @property */
public ContextNode get_Item(
    int index
)
JScript не поддерживает индексированные свойства.

Параметры

Значение свойства

Тип: Microsoft.Ink.ContextNode
The ContextNode object at the specified index within the ContextNodeCollection.

Заметки

You can access the Item property by using the collection's indexer as shown in the following example.

An ArgumentOutOfRangeException exception is thrown if the index does not match an existing member of the ContextNodeCollection collection.

Примеры

The following example gets the first node in a ContextNodeCollection, nodes.

Dim firstNode As ContextNode = nodes(0)
            ContextNode firstNode = nodes[0];

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

ContextNodeCollection Класс

ContextNodeCollection - члены

Item - перегрузка

Microsoft.Ink - пространство имен