StateBag.Count Property

 

Gets the number of StateItem objects in the StateBag object.

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

abstract Count : int with get
override Count : int with get

Property Value

Type: System.Int32

The number of items in the StateBag.

The following code example demonstrates using the Count property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: