MapCore.Dispose Method ()


Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Additionally, halts any pending downloads of map imagery and allows existing map imagery resources to be freed. This method requires that the control is no longer in the visual tree and therefore has no parent. Once disposed, the control may not be added to the visual tree again.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

public void Dispose()
Return to top