SPDataSource.DeleteParameters property

Gets the parameter collection that contains parameters for deleting data.

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

Syntax

'Declaration
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property DeleteParameters As ParameterCollection
    Get
'Usage
Dim instance As SPDataSource
Dim value As ParameterCollection

value = instance.DeleteParameters
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ParameterCollection DeleteParameters { get; }

Property value

Type: System.Web.UI.WebControls.ParameterCollection
A System.Web.UI.WebControls.ParameterCollection object that contains any parameters that will be used to delete data.

Remarks

The parameters in the DeleteParameterscollection depend on the data in the data-bound control, any parameters that are specified declaratively, and any parameters that are added programmatically. The entire collection is used by the associated SPDataSourceView object when it deletes data.

See also

Reference

SPDataSource class

SPDataSource members

Microsoft.SharePoint.WebControls namespace

DeleteCommand

DeleteParameters