DataGridViewSelectedCellCollection.IList.Clear 메서드

정의

Clear() 메서드를 구현합니다. 항상NotSupportedException을 throw합니다.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear

구현

예외

항상 throw됩니다.

설명

변경할 수 없습니다는 DataGridViewSelectedCellCollection 클래스를 직접. 선택을 취소 합니다 DataGridViewSelectedCellCollection를 사용 하 여를 DataGridView.ClearSelection 메서드.

이 멤버는 명시적 인터페이스 멤버 구현이며, DataGridViewSelectedCellCollection 인스턴스가 IList 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상

추가 정보