Editar

Compartilhar via


ObjectDataSourceView.DeleteParameters Property

Definition

Gets the parameters collection that contains the parameters that are used by the DeleteMethod method.

public:
 property System::Web::UI::WebControls::ParameterCollection ^ DeleteParameters { System::Web::UI::WebControls::ParameterCollection ^ get(); };
public System.Web.UI.WebControls.ParameterCollection DeleteParameters { get; }
member this.DeleteParameters : System.Web.UI.WebControls.ParameterCollection
Public ReadOnly Property DeleteParameters As ParameterCollection

Property Value

A ParameterCollection that contains the parameters used by the method specified by the DeleteMethod property.

Remarks

The names and types of the parameters that are contained in the DeleteParameters collection must match the names and types of the parameters that are in the method specified by the DeleteMethod property signature. The parameter names are affected by the OldValuesParameterFormatString property and are case sensitive. When working with data-bound controls that supply parameters, such as GridView and DetailsView, the ObjectDataSource control automatically merges any parameters that are explicitly specified in the collection with those parameters that are provided by the data-bound control.

For more information, see DeleteMethod.

Applies to

See also