Sdílet prostřednictvím


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 Property Item ( _
    index As Integer _
) As AnalysisWarning
'Usage
Dim instance As AnalysisWarningCollection 
Dim index As Integer 
Dim value As AnalysisWarning 

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

Parameters

Property Value

Type: Microsoft.Ink.AnalysisWarning
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.

Examples

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 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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

AnalysisWarningCollection Class

AnalysisWarningCollection Members

Microsoft.Ink Namespace

AnalysisWarning