NameObjectCollectionBase.KeysCollection.Get(Int32) 메서드

정의

컬렉션의 지정한 인덱스에서 키를 가져옵니다.

public:
 virtual System::String ^ Get(int index);
public virtual string Get (int index);
public virtual string? Get (int index);
abstract member Get : int -> string
override this.Get : int -> string
Public Overridable Function Get (index As Integer) As String

매개 변수

index
Int32

컬렉션에서 가져올 키의 0부터 시작하는 인덱스입니다.

반환

컬렉션의 지정된 인덱스에 있는 키가 들어 있는 String입니다.

예외

index가 컬렉션의 유효한 인덱스 범위를 벗어납니다.

설명

이 방법은 O(1) 작업에 설명 합니다.

적용 대상