Partilhar via


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