Redigera

Dela via


DetailsViewInsertEventArgs(Object) Constructor

Definition

Initializes a new instance of the DetailsViewInsertEventArgs class.

public:
 DetailsViewInsertEventArgs(System::Object ^ commandArgument);
public DetailsViewInsertEventArgs (object commandArgument);
new System.Web.UI.WebControls.DetailsViewInsertEventArgs : obj -> System.Web.UI.WebControls.DetailsViewInsertEventArgs
Public Sub New (commandArgument As Object)

Parameters

commandArgument
Object

An optional command argument passed to the DetailsView control.

Remarks

Use this constructor to initialize a new instance of the DetailsViewInsertEventArgs class.

The following table shows the initial property value for an instance of the DetailsViewInsertEventArgs class.

Property Initial Value
CommandArgument The value of the commandArgument parameter.

Note

This constructor is used primarily by control developers when raising events.

Applies to

See also