Share via


SPDataSourceView.CanDelete property

Gets a Boolean value that indicates whether the delete operation is supported for the current view.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CanDelete As Boolean
    Get
'Usage
Dim instance As SPDataSourceView
Dim value As Boolean

value = instance.CanDelete
public override bool CanDelete { get; }

Property value

Type: System.Boolean
true if the operation is supported; otherwise, false.

Remarks

The implementation of the CanDelete property in the SPDataSourceView class always returns true.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace