Partager via


CopyTo Method

The TargetingProfileCollection elements are copied to the target array, starting at the specified index of the target array.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Profile(), _
    index As Integer _
)
'Usage
Dim instance As TargetingProfileCollection
Dim array As Profile()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Profile[] array,
    int index
)
public:
void CopyTo(
    array<Profile^>^ array, 
    int index
)
public function CopyTo(
    array : Profile[], 
    index : int
)

Parameters

  • index
    Type: System..::.Int32
    The zero-based index in the destination array at which storing begins.

Remarks

Copies the items to a strongly-typed Profile array, starting at a particular array index.

Permissions

See Also

Reference

TargetingProfileCollection Class

TargetingProfileCollection Members

Microsoft.CommerceServer.Runtime.Targeting Namespace