GradientStopCollection.InsertAt(UInt32, GradientStop) メソッド

定義

指定したインデックス位置に指定した項目を挿入します。

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

パラメーター

index
UInt32

unsigned int

uint32_t

値を設定する位置のインデックス。

value
GradientStop

設定する値。

実装

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)

注釈

InsertAt はコレクションを展開し、後続のすべてのインデックス項目を 1 つずつ移動します。

これに対し、 SetAt は インデックスの項目を置き換え、コレクション数は変わりません。

適用対象