GradientStopCollection.Insert(Int32, GradientStop) 메서드

정의

GradientStop을 그라데이션 중지점 목록의 지정된 위치에 삽입합니다.

public:
 virtual void Insert(int index, System::Windows::Media::GradientStop ^ value);
public void Insert (int index, System.Windows.Media.GradientStop value);
abstract member Insert : int * System.Windows.Media.GradientStop -> unit
override this.Insert : int * System.Windows.Media.GradientStop -> unit
Public Sub Insert (index As Integer, value As GradientStop)

매개 변수

index
Int32

개체를 삽입할 0부터 시작하는 인덱스입니다.

value
GradientStop

삽입할 GradientStop입니다.

구현

예외

value이(가) null인 경우

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

GradientStopCollection이 읽기 전용인 경우

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

설명

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

적용 대상

추가 정보