PersistDemo.PagePersister.SetPageField Function
Prepare the application's dictionary so that the value of a page's static field will be set to a particular value when its static fields are restored.
Public void SetPageField (System.Web.HttpApplicationState, string, string, object)
Type
Name
Description
System.Web.HttpApplicationState
app
The HTTP application object
string
sPageTypeName
string
sVarName
the name of the field
object
objValue
the value to be assigned to the field
Return
Description
void
Other overloads:
PersistDemo.PagePersister.SetPageField(HttpApplicationState,Type,e,d) PersistDemo.PagePersister.SetPageField(HttpSessionState,Type,e,d) PersistDemo.PagePersister.SetPageField(HttpSessionState,e,e,d)