AudienceCollection.CopyTo method

Copies the elements of the AudienceCollection to an array, starting at a specified index.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

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

instance.CopyTo(array, index)
public void CopyTo(
    Array array,
    int index
)

Parameters

  • array
    Type: System.Array

    A one-dimensional array to which the property elements are copied.

  • index
    Type: System.Int32

    The zero-based index in the array at which copying begins.

Implements

ICollection.CopyTo(Array, Int32)

See also

Reference

AudienceCollection class

AudienceCollection members

Microsoft.Office.Server.Audience namespace