Releases all resources used by the current instance of the CompositionContainer class.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
'Declaration Public Sub Dispose
public void Dispose()
Call Dispose when you are finished using the CompositionContainer. The Dispose method leaves the CompositionContainer in an unusable state. After calling Dispose, you must release all references to the CompositionContainer so the garbage collector can reclaim the memory that the CompositionContainer was occupying.
Supported in: 5, 4
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.