Share via


Polygon.GetEnumerator Method

Definition

Returns an enumerator that lists all of the location object in this polygon.

public:
 virtual System::Collections::Generic::IEnumerator<Microsoft::Maui::Devices::Sensors::Location ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<Microsoft.Maui.Devices.Sensors.Location> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Maui.Devices.Sensors.Location>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Maui.Devices.Sensors.Location>
Public Function GetEnumerator () As IEnumerator(Of Location)

Returns

A IEnumerator<T> of type Location with all the locations in this polygon.

Implements

Applies to