System.Web.SessionState.ISessionStateItemCollection.Dirty Property

Gets or sets a value indicating whether the collection has been marked as changed.

Syntax

public bool Dirty { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ISessionStateItemCollection.Dirty property is used by the System.Web.SessionState.SessionStateModule to determine whether the values in an System.Web.SessionState.ISessionStateItemCollection implementation have been modified.

In implementing the System.Web.SessionState.ISessionStateItemCollection interface, you should initialize the ISessionStateItemCollection.Dirty property as false and set the SessionStateItemCollection.Dirty property to true in the implementations of the ISessionStateItemCollection.Remove(string), ISessionStateItemCollection.RemoveAt(int), or ISessionStateItemCollection.Clear methods.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0