Dispose Method
Collapse the table of content
Expand the table of content

ResourceSet.Dispose Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Disposes of the resources (other than memory) used by the current instance of ResourceSet.

Namespace:  System.Resources
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Sub Dispose

Implements

IDisposable.Dispose

Call Dispose when you are finished using the ResourceSet. The Dispose method leaves the ResourceSet in an unusable state. After calling Dispose, you must release all references to the ResourceSet so the memory it was occupying can be reclaimed by garbage collection.

NoteNote:

The current method is the implementation of IDisposable.Dispose. This implementation calls Dispose (true).

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft