UIElementCollection.GetView Method

Definition

Gets an immutable view into the collection.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.UIElementCollection.GetView.

public:
 virtual IVectorView<UIElement ^> ^ GetView() = IVector<UIElement ^>::GetView;
IVectorView<UIElement> GetView();
public IReadOnlyList<UIElement> GetView();
function getView()
Public Function GetView () As IReadOnlyList(Of UIElement)

Returns

IReadOnlyList<UIElement>

An object representing the immutable collection view. This object implements IVectorView<T> with a UIElement constraint.

Implements

Applies to

See also