IRemoteArgumentDictionaryEnumeratorContract.GetValue Método
Definição
Retorna o valor da entrada do IRemoteArgumentDictionaryContract atual.Returns the value of the current IRemoteArgumentDictionaryContract entry.
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
Retornos
Um RemoteArgument que contém o valor da entrada do IRemoteArgumentDictionaryContract atual.A RemoteArgument that contains the value of the current IRemoteArgumentDictionaryContract entry.
Exceções
O IRemoteArgumentDictionaryEnumeratorContract é posicionado antes da primeira entrada do IRemoteArgumentDictionaryContract ou após a última entrada.The IRemoteArgumentDictionaryEnumeratorContract is positioned before the first entry of the IRemoteArgumentDictionaryContract or after the last entry.
Comentários
Depois que um enumerador é criado ou depois que o Reset método é chamado, o MoveNext método deve ser chamado para avançar o enumerador para o primeiro elemento da coleção antes de chamar o GetValue método; caso contrário, o valor de retorno de GetValue é indefinido.After an enumerator is created or after the Reset method is called, the MoveNext method must be called to advance the enumerator to the first element of the collection before calling the GetValue method; otherwise, the return value of GetValue is undefined.
GetValue também gera uma exceção se a última chamada para MoveNext retornada false , que indica o final da coleção.GetValue also throws an exception if the last call to MoveNext returned false, which indicates the end of the collection.
GetValue Não move a posição do enumerador e chamadas consecutivas para GetValue retornar o mesmo objeto até que seja MoveNext ou Reset seja chamado.GetValue does not move the position of the enumerator, and consecutive calls to GetValue return the same object until either MoveNext or Reset is called.