SortedList.Keys 속성

정의

SortedList 개체의 키를 가져옵니다.

public:
 virtual property System::Collections::ICollection ^ Keys { System::Collections::ICollection ^ get(); };
public virtual System.Collections.ICollection Keys { get; }
member this.Keys : System.Collections.ICollection
Public Overridable ReadOnly Property Keys As ICollection

속성 값

ICollection 개체의 키가 포함된 SortedList 개체입니다.

구현

설명

개체는 ICollection 개체의 키에 대한 읽기 전용 보기입니다 SortedList . 기본 SortedList 에 대한 수정 내용은 에 즉시 반영됩니다 ICollection.

의 요소는 의 ICollectionSortedList와 동일한 순서로 정렬됩니다.

이 속성은 메서드와 GetKeyList 비슷하지만 개체 대신 개체를 IList 반환 ICollection 합니다.

이 메서드는 작업입니다 O(1) .

적용 대상

추가 정보