IRemoteArgumentDictionaryEnumeratorContract.GetValue Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A RemoteArgument that contains the value of the current IRemoteArgumentDictionaryContract entry.
The IRemoteArgumentDictionaryEnumeratorContract is positioned before the first entry of the IRemoteArgumentDictionaryContract or after the last entry.
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 also throws an exception if the last call to MoveNext returned false
, which indicates the end of the collection.
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.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: