RepeaterItem Constructor (Int32, Object)
Initializes a new instance of the RepeaterItem class.
Namespace: Microsoft.Web.Mvc.Controls
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public RepeaterItem(
int itemIndex,
object dataItem
)
public:
RepeaterItem(
int itemIndex,
Object^ dataItem
)
new :
itemIndex:int *
dataItem:Object -> RepeaterItem
Public Sub New (
itemIndex As Integer,
dataItem As Object
)
Parameters
itemIndex
Type: System.Int32The index of the item in the repeater.
dataItem
Type: System.ObjectA data item associated with the RepeaterItem object in the Repeater control.
See Also
RepeaterItem Class
Microsoft.Web.Mvc.Controls Namespace
Return to top