Partilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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