Share via


AudienceSiteCollection.CopyTo method

Copies the elements of the AudienceSiteCollection object 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 AudienceSiteCollection
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 of type System.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

AudienceSiteCollection class

AudienceSiteCollection members

Microsoft.Office.Server.Audience namespace