Share via


SPDataSourceView.InsertParameters property

Gets the parameter collection that contains parameters for inserting data.

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

Syntax

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

value = instance.InsertParameters
public ParameterCollection InsertParameters { 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 insert data.

Remarks

The parameters that are returned by the InsertParameters property are used with the command specified in the InsertCommand 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

InsertCommand

InsertParametersDictionary

ExecuteInsert(IDictionary)