ItemCollection.SetAt(UInt32, Object) Method

Definition

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

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

Parameters

index
UInt32

unsigned int

uint32_t

The index at which to set the value.

value
Object

Platform::Object

IInspectable

The value to set.

Implements

M:Windows.Foundation.Collections.IVector1.SetAt(System.UInt32,0) M:Windows.Foundation.Collections.IVector1.SetAt(unsigned int,0) M:Windows.Foundation.Collections.IVector1.SetAt(uint32_t,0)

Remarks

SetAt replaces the item at the index, and the collection count remains the same.

Applies to