NameObjectCollectionBase.KeysCollection.Get(Int32) 메서드

정의

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

public:
 virtual System::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부터 시작)입니다.

반품

컬렉션의 지정된 인덱스에 있는 키를 포함하는 A String 입니다.

예외

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

설명

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

적용 대상