Partager via


CompositionStrokeDashArray.InsertAt(UInt32, Single) Méthode

Définition

Insère l’élément spécifié à l’index spécifié.

public:
 virtual void InsertAt(unsigned int index, float value) = IVector<float>::InsertAt;
void InsertAt(uint32_t const& index, float const& value);
public void InsertAt(uint index, float value);
function insertAt(index, value)
Public Sub InsertAt (index As UInteger, value As Single)

Paramètres

index
UInt32

unsigned int

uint32_t

Index auquel définir la valeur.

value
Single

float

Valeur à définir.

Implémente

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

Remarques

InsertAt développe la collection et déplace tous les éléments d’index suivants d’un seul.

En revanche, SetAt remplace l’élément à l’index, et le nombre de collections reste le même.

S’applique à