Compartir a través de


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

'Declaración
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

See Also

Reference

IVsEnumBufferCoordinatorSpans Interface

Microsoft.VisualStudio.TextManager.Interop Namespace