共用方式為


SPMobileComponent.RecycleBinEnabled Property

Gets a value that indicates whether the current application allows deleted items to be put into the Recycle Bin instead of deleted entirely.

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

Syntax

'Declaration
Public ReadOnly Property RecycleBinEnabled As Boolean
    Get
'Usage
Dim instance As SPMobileComponent
Dim value As Boolean

value = instance.RecycleBinEnabled
public bool RecycleBinEnabled { get; }

Property Value

Type: System.Boolean
true if the current web site is associated with an SPWebApplication object and that object enables use of the Recycle Bin; otherwise, false. The default is false.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace