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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.