Dela via


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
'Usage
Dim instance As IVsEnumBufferCoordinatorSpans 
Dim returnValue As Integer 

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

IVsEnumBufferCoordinatorSpans Members

Microsoft.VisualStudio.TextManager.Interop Namespace