Share via


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)

Syntax

public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Public Sub Dispose

Implements

IDisposable.Dispose()

See Also

Disposeā€‚Overload
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top