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)

Syntax

'Declaration
Function Reset As Integer
int Reset()
int Reset()
abstract Reset : unit -> int
function Reset() : int

Return Value

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

Remarks

COM Signature

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.

.NET Framework Security

See Also

Reference

IEnumRunningDocuments Interface

Microsoft.VisualStudio.Shell.Interop Namespace