IVsEnumBufferCoordinatorSpans.Reset Method
Resets the enumeration to the first element.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function Reset As Integer
int Reset()
int Reset()
abstract Reset : unit -> int
function Reset() : int
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT IVsEnumBufferCoordinatorSpans::Reset();
After this method is called, the next call to the Next method returns the first element of the enumeration.
.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.