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

'宣言
Function Reset As Integer
'使用
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.

Permissions

See Also

Reference

IVsEnumBufferCoordinatorSpans Interface

IVsEnumBufferCoordinatorSpans Members

Microsoft.VisualStudio.TextManager.Interop Namespace