SPListItem.Recycle SPListItem.Recycle SPListItem.Recycle Method

Definition

public:
 Guid Recycle();
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="Item does not exist.The page you selected contains an item that does not exist.  It may have been deleted by another user.", ErrorCode=-2130575338, ErrorType=typeof(Microsoft.SharePoint.SPException), FixedId="2")]
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="Method 'Recycle' is not supported on Microsoft.SharePoint.SPListItem for external lists.", ErrorType=typeof(System.NotSupportedException), FixedId="3")]
[Microsoft.SharePoint.Client.ClientCallableMethod(RemoveThisObjectFromParentCollection=true)]
public Guid Recycle ();
Public Function Recycle () As Guid
Returns

Applies to