PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Arguments Class / Arguments Properties / Arguments.​Item Property

Arguments.Item Property

Gets or sets the value of an argument. Setting the value is only supported in specific situations. See SetArgument(Int32, Object) for details.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public Object this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32
Argument index.

Return Value

Type: Object
The argument value.

Implements

IList<T>.Item[Int32]
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is lower than zero or greater or equal than Count.
See Also