PostSharp 4.3 / / Post­Sharp Documentation / 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: 4.3.48.0 (4.3.48.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