LocalizationExtenderProvider::Dispose Method ()

 

Disposes of the resources (other than memory) used by the LocalizationExtenderProvider.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
virtual void Dispose() sealed

Call Dispose when you are finished using the LocalizationExtenderProvider. The Dispose method leaves the LocalizationExtenderProvider in an unusable state. After calling Dispose, you must release all references to the LocalizationExtenderProvider so the garbage collector can reclaim the memory that the LocalizationExtenderProvider was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

System_CAPS_noteNote

Always call Dispose before you release your last reference to the LocalizationExtenderProvider. Otherwise, the resources it is using will not be freed until the garbage collector calls the LocalizationExtenderProvider object's Finalize method.

.NET Framework
Available since 1.1
Return to top
Show: