IVsExpansionEnumeration::Reset Method ()

 

Resets the enumeration to the beginning.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int Reset()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Once reset, the next call to the Next method returns the first item in the enumeration. This method does not need to be called when the enumeration is first obtained.

From textmgr2.idl:

HRESULT IVsExpansionEnumeration::Reset();
Return to top
Show: