Share via


IRemoteArgumentDictionaryEnumeratorContract.GetValue 메서드

정의

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

public:
 System::AddIn::Contract::RemoteArgument GetValue();
public System.AddIn.Contract.RemoteArgument GetValue ();
abstract member GetValue : unit -> System.AddIn.Contract.RemoteArgument
Public Function GetValue () As RemoteArgument

반환

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

예외

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

설명

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

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

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

적용 대상