DependencyObjectCollection.SetAt(UInt32, DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value at the specified index to the DependencyObject value specified.
public:
virtual void SetAt(unsigned int index, DependencyObject ^ value) = IVector<DependencyObject ^>::SetAt;
void SetAt(uint32_t const& index, DependencyObject const& value);
public void SetAt(uint index, DependencyObject value);
function setAt(index, value)
Public Sub SetAt (index As UInteger, value As DependencyObject)
Parameters
- index
-
UInt32
unsigned int
uint32_t
The index at which to set the value.
- value
- DependencyObject
The value to set.
Implements
M:Windows.Foundation.Collections.IVector
1.SetAt(System.UInt32,
0)
M:Windows.Foundation.Collections.IVector1.SetAt(unsigned int,
0)
M:Windows.Foundation.Collections.IVector1.SetAt(uint32_t,
0)
Remarks
InsertAt expands the collection and moves all subsequent index items by one. In contrast, SetAt
replaces the item at the index, and the collection count remains the same.