共用方式為


CompositionColorGradientStopCollection.SetAt 方法

定義

將位於指定索引處的值設定為指定的 CompositionColorGradientStop 值。

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

參數

index
UInt32

unsigned int

uint32_t

要設定值的索引。

value
CompositionColorGradientStop

要設定的值。

實作

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)

適用於