|
| ESRI.ArcGIS.ADF.Web.DataSources | |
| SaveState Method | |
| See Also Example | |
| ESRI.ArcGIS.ADF.Web.DataSources Namespace > IGISResource Interface : SaveState Method |
| Visual Basic (Declaration) | |
|---|---|
Sub SaveState() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
void SaveState() | |
The GIS resource instance is stored in the hashtable managed by its GIS data source. The key is a user defined value to uniquely identify a resource. The key should be unique for resource definition in case the resource definition changes at runtime.
| C# | Copy Code |
|---|---|
public virtual void SaveState() | |
The SaveState method is often used to save an instance of the GIS resource in
state. If a resource is managed by a resource manager control, the SaveViewState event
during the page lifecycle will call SaveState on the resource. Developers should define
a custom key to identify the GIS resource value.