ICollection(DiscountItem).CopyTo Method
Namespace: Microsoft.CommerceServer.Runtime.Marketing
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Private Sub CopyTo ( _
array As DiscountItem(), _
arrayIndex As Integer _
) Implements ICollection(Of DiscountItem).CopyTo
'Usage
Dim instance As DiscountItemCollection
Dim array As DiscountItem()
Dim arrayIndex As Integer
CType(instance, ICollection(Of DiscountItem)).CopyTo(array, _
arrayIndex)
void ICollection<DiscountItem>.CopyTo(
DiscountItem[] array,
int arrayIndex
)
private:
virtual void CopyTo(
array<DiscountItem^>^ array,
int arrayIndex
) sealed = ICollection<DiscountItem^>::CopyTo
JScript does not support explicit interface implementations.
Parameters
- array
Type: array<Microsoft.CommerceServer.Runtime.Marketing..::.DiscountItem>[]()[]
- arrayIndex
Type: System..::.Int32
Implements
ICollection<(Of <(T>)>)..::.CopyTo(array<T>[]()[], Int32)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.