Compartir a través de


AnalysisAlternateCollection.Item Property

Gets the AnalysisAlternate object with the specified index within the AnalysisAlternateCollection.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
XML Namespace:  https://schemas.microsoft.com/winfx/2006/xaml/presentation

Syntax

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

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

Parameters

Property Value

The AnalysisAlternate object with the specified index within the AnalysisAlternateCollection.

Remarks

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

An T:System.ArgumentOutOfRangeException is thrown if the index does not match an existing member of the AnalysisAlternateCollection.

Example

This example gets the first node in an AnalysisAlternateCollection, alternates.

Dim firstAlternate As AnalysisAlternate = alternates(0)
AnalysisAlternate firstAlternate = alternates[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

AnalysisAlternateCollection Class
AnalysisAlternateCollection Members
System.Windows.Ink Namespace