DetailsViewInsertEventArgs(Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.