IVsExpansionEnumeration.Reset Method
Resets the enumeration to the beginning.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaración
Function Reset As Integer
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
Once reset, the next call to the Next method returns the first item in the enumeration. This method does not need to be called when the enumeration is first obtained.
COM Signature
From textmgr2.idl:
HRESULT IVsExpansionEnumeration::Reset();
.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.