DataGridViewSelectedRowCollection.IList.Clear 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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됩니다.
설명
변경할 수 없습니다는 DataGridViewSelectedRowCollection 클래스를 직접. 선택을 취소 합니다 DataGridViewSelectedRowCollection를 사용 하 여를 DataGridView.ClearSelection 메서드.
이 멤버는 명시적 인터페이스 멤버 구현이며, DataGridViewSelectedRowCollection 인스턴스가 IList 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.