Partilhar via


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

Implements

ICollection<(Of <(T>)>)..::.CopyTo(array<T>[]()[], Int32)

Permissions

See Also

Reference

DiscountItemCollection Class

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace