Edit

Kongsi melalui


PagedControl.InternalItemCount Property

Definition

Gets the number of items in the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 abstract property int InternalItemCount { int get(); };
protected abstract int InternalItemCount { get; }
member this.InternalItemCount : int
Protected MustOverride ReadOnly Property InternalItemCount As Integer

Property Value

The number of items in the control.

Remarks

Classes that derive from PagedControl must override this inherited property.

The difference between the InternalItemCount property and the Count property of the List and ObjectList classes is that if the InternalItemCount property is called before the control view state is loaded, it returns the number of items in the view state, unlike the behavior of the Count property, which returns zero.

Applies to

See also