Share via


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
'Usage
Dim instance As IEnumRunningDocuments 
Dim returnValue As Integer 

returnValue = instance.Reset()
int Reset()
int Reset()
function Reset() : int

Return Value

Type: System.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

IEnumRunningDocuments Members

Microsoft.VisualStudio.Shell.Interop Namespace