ESRI.ArcGIS.ADF.Web.DataSources
LoadState Method
See Also 
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.

See Also

© 2010 All Rights Reserved.