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 .

구현

예외

valuenull입니다.

index가 .에서 유효한 인덱스가 아닌 경우 GradientStopCollection

읽기 GradientStopCollection 전용입니다.

-또는-

크기가 GradientStopCollection 고정되어 있습니다.

설명

일반적인 구현과 IList<T>.Insert달리 이 구현은 ArgumentExceptionnull (Nothing) 참조를 삽입하려고 하면 throw됩니다.

적용 대상

추가 정보