Share via


AnalysisWarningCollection.Item Property

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

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.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: System.Windows.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 named warnings.

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

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

See Also

Reference

AnalysisWarningCollection Class

AnalysisWarningCollection Members

System.Windows.Ink Namespace

AnalysisWarning