共用方式為


CompositionColorGradientStopCollection.InsertAt 方法

定義

在指定的索引處插入指定的專案。

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

參數

index
UInt32

unsigned int

uint32_t

要設定值的索引。

value
CompositionColorGradientStop

要設定的值。

實作

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)

適用於