Partilhar via


SPRecycleBinItem.ID Property

Gets the GUID of the item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotEmpty)> _
<ClientCallableAttribute(Name := "Id")> _
Public ReadOnly Property ID As Guid
    Get
'Usage
Dim instance As SPRecycleBinItem
Dim value As Guid

value = instance.ID
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
[ClientCallableAttribute(Name = "Id")]
public Guid ID { get; }

Property Value

Type: System.Guid
A System.Guid object that identifies the transaction ID of the delete transaction. This value does not correspond to the original ID of the item.

See Also

Reference

SPRecycleBinItem Class

SPRecycleBinItem Members

Microsoft.SharePoint Namespace