![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources | |
SaveState Method | |
See Also Example Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IGISDataSource Interface : SaveState Method |
Visual Basic (Declaration) | |
---|---|
Function SaveState() As Hashtable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IGISDataSource Dim value As Hashtable value = instance.SaveState() |
C# | |
---|---|
Hashtable SaveState() |
Save data source properties in state for reuse.
C# | ![]() |
---|---|
public override Hashtable SaveState() { base.SaveState(); if (State != null) State[connectionKey] = _connection; return State; } |
Implementation classes use this method to save properties or information in state for the GIS data source. When a GIS data source is managed by a resource manager control, the SaveState method is called during the SaveViewState event in the page lifecycle.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family