Share via


SPDataSourceView.DeleteParameters Property

Gets the parameter collection that contains parameters for deleting data.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property DeleteParameters As ParameterCollection
    Get
'Usage
Dim instance As SPDataSourceView
Dim value As ParameterCollection

value = instance.DeleteParameters
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 that are returned by the DeleteParameters property are used with the query specified in the DeleteCommand property. The parameters in the collection depend on the data in the data-bound control, the parameters that are specified declaratively, and the parameters that are added programmatically.

See Also

Reference

SPDataSourceView Class

SPDataSourceView Members

Microsoft.SharePoint.WebControls Namespace

DeleteCommand

ExecuteDelete(IDictionary, IDictionary)

CanDelete