UIElementCollection.SetAt(UInt32, UIElement) Method

Definition

Sets the value at the specified index to the UIElement value specified.

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

public:
 virtual void SetAt(unsigned int index, UIElement ^ value) = IVector<UIElement ^>::SetAt;
void SetAt(uint32_t index, UIElement const & value);
public void SetAt(uint index, UIElement value);
function setAt(index, value)
Public Sub SetAt (index As UInteger, value As UIElement)

Parameters

index
UInt32

The index at which to set the value.

value
UIElement

The value to set.

Implements

Remarks

If you are programming using C# or Microsoft Visual Basic, see Item (indexer).

Applies to