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
- array
Type: array<Microsoft.CommerceServer.Runtime.Profiles..::.Profile>[]()[]
The one-dimensional Array that is the destination of the elements copied from the current instance. The Array must have zero-based indexing and one-dimensional.
- 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
- 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.
See Also
Reference
TargetingProfileCollection Class