PropertyCollection.CopyTo Method

NOTE: This API is now obsolete.

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

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

Syntax

'Declaration
<ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")> _
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
'Usage
Dim instance As PropertyCollection
Dim array As Array
Dim index As Integer

instance.CopyTo(array, index)
[ObsoleteAttribute("PropertyCollection is replaced by ProfileSubtypePropertyManager.")]
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.

See Also

Reference

PropertyCollection Class

PropertyCollection Members

Microsoft.Office.Server.UserProfiles Namespace