PostSharpAPI ReferencePost­Sharp.​AspectsArgumentsItem
Open sandboxFocus

Arguments.Item Property

Item[Int32]

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

Declaration
public object this[int index] { get; set; }
Parameters
Type Name Description
Int32 index

Argument index.

Property Value
Type Description
Object

The argument value.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is lower than zero or greater or equal than Count.