![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources | |
Dispose Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IGISFunctionality Interface : Dispose Method |
Visual Basic (Declaration) | |
---|---|
Sub Dispose() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IGISFunctionality instance.Dispose() |
C# | |
---|---|
void Dispose() |
If a functionality is explicitly created at runtime, it may need to be explicitly disposed. Web ADF implementations of IGISFunctionality merely use the Dispose method to set the initialized flag for the functionality to false. As a result, it is not necessary to call Dispose. However, if creating a custom data source with a functionality which needs to clean up resources when its work is complete, implement the Dispose method and call it explicitly at runtime.
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