Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.41 KB

inlinecollection.md

File metadata and controls

27 lines (18 loc) · 1.41 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Documents.InlineCollection
winrt class

Microsoft.UI.Xaml.Documents.InlineCollection

-description

Represents a collection of Inline elements.

-remarks

Enumerating the collection in C# or Microsoft Visual Basic

An InlineCollection 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<Inline> explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable with an Inline constraint.

-examples

-see-also

IVector<T>, IIterable<T>, IList