ListView.CheckedListViewItemCollection.ContainsKey(String) 메서드

정의

지정된 키를 가진 열이 컬렉션에 있는지 여부를 확인합니다.

public:
 virtual bool ContainsKey(System::String ^ key);
public virtual bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Overridable Function ContainsKey (key As String) As Boolean

매개 변수

key
String

검색할 항목의 이름입니다.

반환

Boolean

지정된 키를 가진 항목이 컬렉션에 있으면 true이고, 그렇지 않으면 false입니다.

예외

소유자 ListView가 가상 모드에 있는 경우

설명

의 속성 ListViewItemName 에 있는 항목의 키에 ListView.CheckedListViewItemCollection해당합니다.

적용 대상