System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the virtual number of items in the data source when custom paging is used.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public int VirtualCount { get; set; }
public:
property int VirtualCount {
	int get();
	void set(int value);
}
member VirtualCount : int with get, set
Public Property VirtualCount As Integer

Property Value

Type:

The virtual number of items in the data source when custom paging is used.

Use the property when custom paging or server-side paging is used to determine the virtual number of items in the data source. For more information on the property, see .

.NET Framework
Available since 1.1
Return to top