IHttpSessionState::Count Property

 

Gets the number of items in the session-state item collection.

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

property int Count {
	int get();
}

Property Value

Type: System::Int32

The number of items in the session-state item collection.

The following code example implements the Count property of the IHttpSessionState interface to return the number of items in the internal session-state item collection.

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

.NET Framework
Available since 2.0
Return to top
Show: