PostSharp4.3/API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Collection(T) Class/Advisable­Collection(T) Properties/Advisable­Collection(T).​Item Property
AdvisableCollection<T>.Item Property
Gets or sets the element at the specified index.

Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public T this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32
The zero-based index of the element to get or set.

Return Value

Type: T
The element at the specified index.

Implements

IList<T>.Item[Int32]
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the IList<T>.
NotSupportedExceptionThe property is set and the IList<T> is read-only.
See Also