SPCopyDestinationCollection.Remove method (Int32)

Deletes the copy destination object with the specified index from the collection of copy destination objects.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Remove ( _
    index As Integer _
)
'Usage
Dim instance As SPCopyDestinationCollection
Dim index As Integer

instance.Remove(index)
public void Remove(
    int index
)

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index of the copy destination object to delete.

Remarks

Call the UpdateParent() method to confirm the delete operation.

See also

Reference

SPCopyDestinationCollection class

SPCopyDestinationCollection members

Remove overload

Microsoft.SharePoint namespace