Επεξεργασία

Κοινή χρήση μέσω


GeoCoordinateWatcher.Dispose Method

Definition

Releases all resources that are used by the current instance of the GeoCoordinateWatcher class.

Overloads

Dispose()

Releases all resources that are used by the current instance of the GeoCoordinateWatcher class.

Dispose(Boolean)

Releases all resources used by the current instance of the GeoCoordinateWatcher class.

Remarks

Call Dispose when you are finished using the GeoCoordinateWatcher class.

This method should be called so that unmanaged resources can be freed.

For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Dispose()

Releases all resources that are used by the current instance of the GeoCoordinateWatcher class.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Remarks

Call Dispose when you are finished using the GeoCoordinateWatcher class.

This method should be called so that unmanaged resources can be freed.

For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Applies to

Dispose(Boolean)

Releases all resources used by the current instance of the GeoCoordinateWatcher class.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

Call Dispose when you are finished using the GeoCoordinateWatcher class.

This method should be called so that unmanaged resources can be freed.

For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Applies to