private InsertBefore ( int insertAt ) : jQueryObject | ||
insertAt | int | |
return | jQueryObject |
private jQueryObject InsertBefore(int insertAt)
{
// Prepare the index.
if (insertAt < 0 || Count == 0) return null;
int lastItem = Count - 1;
if (insertAt > lastItem) return null;
// Query for the child.
return Html.ChildAt(insertAt, Container);
}