IRemoteArgumentEnumeratorContract.GetCurrent Method
Definition
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 RemoteArgument in the collection at the current position of the enumerator.
public:
System::AddIn::Contract::RemoteArgument GetCurrent();
public System.AddIn.Contract.RemoteArgument GetCurrent ();
abstract member GetCurrent : unit -> System.AddIn.Contract.RemoteArgument
Public Function GetCurrent () As RemoteArgument
Returns
The RemoteArgument in the collection at the current position of the enumerator.
Remarks
The return value of GetCurrent is undefined under any of the following conditions:
The enumerator is positioned before the first element in the collection, immediately after the enumerator is created or Reset is called. MoveNext must be called to advance the enumerator to the first element of the collection before calling GetCurrent.
The last call to MoveNext returned
false
, which indicates the end of the collection.The enumerator is invalidated due to changes made in the collection, such as adding, modifying, or deleting elements.
GetCurrent returns the same object until MoveNext is called. MoveNext sets the return value of GetCurrent to the next element.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru