SPCopyDestinationCollection.Remove method (Guid)

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

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

Syntax

'Declaration
Public Sub Remove ( _
    id As Guid _
)
'Usage
Dim instance As SPCopyDestinationCollection
Dim id As Guid

instance.Remove(id)
public void Remove(
    Guid id
)

Parameters

  • id
    Type: System.Guid

    A GUID that specifies 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