PostSharp5.0/API Reference/Post­Sharp.​Aspects Namespace/Arguments Class/Arguments Methods/Arguments.​Copy­From Method

Arguments.CopyFrom Method

Copies all the argument values from the elements of Array.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public virtual void CopyFrom(
	Object[] array,
	int index
)

Parameters

array
Type: System.Object[]
The array that is the source of the argument values copied into the current Arguments.
index
Type: System.Int32
An integer that represents the index in array at which copying begins.
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionindex is lower than zero.
See Also