言語

GradientStopCollection.Item[Int32] プロパティ

定義

指定した 0 から始まるインデックス位置にある GradientStop を取得または設定します。

public:
 property System::Windows::Media::GradientStop ^ default[int] { System::Windows::Media::GradientStop ^ get(int index); void set(int index, System::Windows::Media::GradientStop ^ value); };
public System.Windows.Media.GradientStop this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.GradientStop with get, set
Default Public Property Item(index As Integer) As GradientStop

パラメーター

index
Int32

取得または設定する GradientStop の 0 から始まるインデックス。

プロパティ値

指定したインデックス位置にある GradientStop

実装

例外

valuenullです。

index は、 GradientStopCollection内の有効なインデックスではありません。

GradientStopCollectionは読み取り専用です。

-又は-

GradientStopCollectionには固定サイズがあります。

注釈

IList<T>.Item[]の一般的な実装とは異なり、ArgumentExceptionNothing) 参照を挿入しようとすると、この実装はをスローします。

適用対象