Int32Collection.Item Property (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the Int32 at the specified index position.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public int this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The zero-based index of the Int32 to get or set.

Property Value

Type: System.Int32

The Int32 at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than the Count.

.NET Framework
Available since 3.0
Return to top
Show: