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

지정한 인덱스에 있는 GradientStop입니다.

구현

예외

value이(가) null인 경우

indexGradientStopCollection의 유효한 인덱스가 아닌 경우

GradientStopCollection이 읽기 전용인 경우

또는 GradientStopCollection가 고정 크기입니다.

설명

일반적인 구현과 달리 IList<T>.Item[],이 구현은 throw는 ArgumentException 삽입 하려는 경우를 null (Nothing) 참조 합니다.

적용 대상