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)

适用于