ReusableResourceStoreBase<TResource>::Cleanup Method (TResource)

Visual Studio 2015
 

Immediately before releasing an object, performs cleanup on that object. This might be necessary to clean up state stored in the object to prevent leaking memory.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

protected:
virtual bool Cleanup(
	TResource value
)

Parameters

value
Type: TResource

The value to clean up.

Return Value

Type: System::Boolean

True if the object was able to be cleaned up and is ready for reuse, otherwise false.

Return to top
Show: