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, System.Type, string, object)
  Type Name Description  
    System.Web.HttpApplicationState app The HTTP application object  
    System.Type typePage the Type object for the page's type  
    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,e,e,d) PersistDemo.PagePersister.SetPageField(HttpSessionState,Type,e,d) PersistDemo.PagePersister.SetPageField(HttpSessionState,e,e,d)