MapIterator.begin Method

Definition

Moves the iterator to the start of the map.

public:
 virtual void begin();
public virtual void begin ();
abstract member begin : unit -> unit
override this.begin : unit -> unit
Public Overridable Sub begin ()

Remarks

Newly created map iterators are positioned at the first element in the map, so you do not have to call the begin method before you iterate through the set. You must call the begin method if you want to reset the pointer.

Applies to