IEnumRunningDocuments::Reset Method ()

 

Resets the enumeration sequence to the beginning

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Reset()

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT Reset(void);

After this method is called, the next call to the Next method returns the first cookies in the list.

Return to top
Show: