다음을 통해 공유


SPRecycleBinItem.ItemType Property

Gets the type of the Recycle Bin 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.Custom, FixedId := "a", Value := "It MUST NOT be None")> _
<ClientCallableAttribute> _
Public ReadOnly Property ItemType As SPRecycleBinItemType
    Get
'Usage
Dim instance As SPRecycleBinItem
Dim value As SPRecycleBinItemType

value = instance.ItemType
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.Custom, FixedId = "a", Value = "It MUST NOT be None")]
[ClientCallableAttribute]
public SPRecycleBinItemType ItemType { get; }

Property Value

Type: Microsoft.SharePoint.SPRecycleBinItemType
An SPRecycleBinItemType value that indicates the type of the Recycle Bin item.

See Also

Reference

SPRecycleBinItem Class

SPRecycleBinItem Members

Microsoft.SharePoint Namespace