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


AnalysisWarningCollection.Item - свойство

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

Gets the AnalysisWarning object at the specified index within the AnalysisWarningCollection.

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

Синтаксис

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

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

Параметры

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

Тип: Microsoft.Ink.AnalysisWarning
The AnalysisWarning object at the specified index within the AnalysisWarningCollection.

Заметки

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

Примеры

The following example shows how to access the first warning in an AnalysisWarningCollection, warnings.

Dim firstWarning As AnalysisWarning = warnings(0)
            AnalysisWarning firstWarning = warnings[0];

Платформы

Windows Vista

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

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

.NET Framework

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

См. также

Ссылки

AnalysisWarningCollection Класс

AnalysisWarningCollection - члены

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

AnalysisWarning