System.Web.UI.WebControls Namespace RepeaterItemEventArgs Class
Initializes a new instance of the RepeaterItemEventArgs class.
[ VB ]
Public Sub New ( _
ByVal item As RepeaterItem _
)
[ C# ]
public RepeaterItemEventArgs (
RepeaterItem item
);
[ C++ ]
public: RepeaterItemEventArgs (
RepeaterItem* item
);
[ JScript ]
public function RepeaterItemEventArgs (
item : RepeaterItem
);
- item
- The RepeaterItem associated with the event. The Item property is set to this value.
The following table shows initial property values for an instance of RepeaterItemEventArgs.
Property |
Initial Value |
Item |
The value of the item parameter. |
The following example demonstrates how to initialize a new instance of the RepeaterItemEventArgs class.
void Item_Created ( Object src, RepeaterItemEventArgs e ) {
RepeaterItemEventArgs item_arg = new RepeaterItemEventArgs ( e.Item );
}
Sub Item_Created ( src As Object, e As RepeaterItemEventArgs )
Dim item_arg As New RepeaterItemEventArgs ( e.Item )
End Sub |
|
C# |
VB |
RepeaterItemEventArgs Members