PostSharp6.3/API Reference/Post­Sharp.​Aspects Namespace/Arguments Class/Arguments Methods/Arguments.​Get­Argument Method

Arguments.GetArgument Method

Gets the value of the argument at a given index.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public virtual Object GetArgument(
	int index
)

Parameters

index
Type: System.Int32
Argument index.

Return Value

Type: Object
The value of the argument at position index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is lower than zero or greater or equal than Count.
See Also