Compartir a través de


AnalysisWarningCollection.Item Property

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

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in microsoft.ink.analysis.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As AnalysisWarning
'Usage
Dim instance As AnalysisWarningCollection
Dim index As Integer
Dim value As AnalysisWarning

value = instance(index)
public AnalysisWarning this [
    int index
] { get; }
public:
property AnalysisWarning^ default [int] {
    AnalysisWarning^ get (int index);
}
/** @property */
public AnalysisWarning get_Item (int index)
Not applicable.

Parameters

Property Value

The AnalysisWarning object at the specified index within the AnalysisWarningCollection.

Remarks

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

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];

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

AnalysisWarningCollection Class
AnalysisWarningCollection Members
Microsoft.Ink Namespace
AnalysisWarning