IEnumString.Reset 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.
Resets the enumeration sequence to the beginning.
public:
void Reset();
public void Reset ();
abstract member Reset : unit -> unit
Public Sub Reset ()
Remarks
Returns S_OK.
A call to this method, resetting the sequence, does not guarantee that the same set of objects will be enumerated after the reset, because it depends on the collection being enumerated. A static collection is reset to the beginning, but it can be too expensive for some collections, such as files in a directory, to guarantee this condition.