PostSharp.ILAPI ReferencePost­Sharp.​Aspects.​InternalsArguments<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>Copy­To
Open sandboxFocus

Arguments<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>.CopyTo Method

CopyTo(Object[], Int32)

Copies all arguments values to the specified Array starting at the specified destination Array index.

Declaration
public override void CopyTo(object[] array, int index)
Parameters
Type Name Description
Object[] array

The array that is the destination of argument values copied from the current Arguments.

System.Int32 index

An integer that represents the index in array at which copying begins

Overrides
Arguments.CopyTo(Object[], Int32)
Exceptions
Type Condition
ArgumentNullException

array is null.

System.ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source System.Collections.Generic.ICollection<> is greater than the available space from arrayIndex to the end of the destination array.