This documentation is archived and is not being maintained.

ResourceSet.Dispose Method (Boolean)

Releases resources (other than memory) associated with the current instance, closing internal managed objects if requested.

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

protected virtual void Dispose(
	bool disposing
)

Parameters

disposing
Type: System.Boolean
Indicates whether the objects contained in the current instance should be explicitly closed.

If the dispose parameter is true, the current method frees all the resources associated with it as well as with all objects associated with it. If dispose is false, the current method frees only the resources allocated to it, and ignores any objects associated with it.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: