Share via


IRemoteArgumentDictionaryEnumeratorContract.GetEntry 메서드

정의

현재 IRemoteArgumentDictionaryContract 항목의 키와 값을 반환합니다.

public:
 System::AddIn::Contract::Collections::RemoteArgumentDictionaryEntry GetEntry();
public System.AddIn.Contract.Collections.RemoteArgumentDictionaryEntry GetEntry ();
abstract member GetEntry : unit -> System.AddIn.Contract.Collections.RemoteArgumentDictionaryEntry
Public Function GetEntry () As RemoteArgumentDictionaryEntry

반환

현재 RemoteArgumentDictionaryEntry 항목의 키와 값이 들어 있는 IRemoteArgumentDictionaryContract입니다.

예외

IRemoteArgumentDictionaryEnumeratorContractIRemoteArgumentDictionaryContract의 첫 번째 항목 앞이나 마지막 항목 뒤에 배치된 경우

설명

열거자를 만든 후 또는 후는 Reset 메서드를 호출 합니다 MoveNext 메서드를 호출 하 여 열거자를 호출 하기 전에 컬렉션의 첫 번째 요소로 이동 해야 합니다 GetEntry 메서드 고, 그렇지 않으면 의반환값GetEntry 정의 되지 않습니다.

GetEntry 마지막으로 호출 하는 경우 예외를 throw MoveNext 반환 false, 컬렉션의 끝을 나타내는입니다.

GetEntry 열거자에 대 한 연속 호출의 위치를 이동 하지 않습니다 GetEntry 될 때까지 동일한 개체를 반환 MoveNext 또는 Reset 라고 합니다.

적용 대상