다음을 통해 공유


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

‘선언
Function Reset As Integer
‘사용 방법
Dim instance As IEnumRunningDocuments
Dim returnValue As Integer

returnValue = instance.Reset()
int Reset()
int Reset()
abstract Reset : unit -> int 
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