Windows.UI.Xaml.Media.PointCollection

June 22, 2022 · View on GitHub

-description

Represents a collection of Point values that can be individually accessed by index.

-xaml-syntax

<object property="oneOrMorePoints"/>

-remarks

Enumerating the collection in C# or Microsoft Visual Basic

A PointCollection is enumerable, so you can use language-specific syntax such as foreach in C# to enumerate the items in the collection. The compiler does the type-casting for you and you won't need to cast to IEnumerable<Point> explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable<T> with a Point constraint.

-examples

-see-also

IVector<T>, IIterable<T>, @T:System.Collections.Generic.IList`1