ESRI.ArcGIS.ADF.Web.DataSources
LoadState Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IGISResource Interface : LoadState Method




Loads state stored with a data source. Deprecated. It is recommended that implementations load state on demand, i.e., when properties or methods are used that require state. Clients of this interface using custom datasource implementations should continue to call this method unless they are sure that the custom datasource loads state on demand.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("It is recommended that implementations load state on demand, i.e., when properties or methods are used that require state.  Clients of this interface using custom datasource implementations should continue to call this method unless they are sure that the custom datasource loads state on demand.")>
Sub LoadState() 
Visual Basic (Usage)Copy Code
Dim instance As IGISResource
 
instance.LoadState()
C# 
[ObsoleteAttribute("It is recommended that implementations load state on demand, i.e., when properties or methods are used that require state.  Clients of this interface using custom datasource implementations should continue to call this method unless they are sure that the custom datasource loads state on demand.")]
void LoadState()

Remarks

LoadState is called when a GIS resource is created by a resource manager.

Requirements

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

See Also

© 2011 All Rights Reserved.