GradientStopCollection.Item[Int32] 속성

정의

지정된 인덱스 GradientStop (0부터 시작하는 인덱스)를 가져오거나 설정합니다.

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[]달리 이 구현은 ArgumentExceptionnull (Nothing) 참조를 삽입하려고 하면 throw됩니다.

적용 대상