共用方式為


IVsEnumLineMarkers.Next(IVsTextLineMarker) Method

Definition

Retrieves the next line marker in the enumeration sequence.

public:
 int Next([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ % ppRetval);
public:
 int Next([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ &  ppRetval);
int Next([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker const & & ppRetval);
public int Next (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker ppRetval);
abstract member Next : IVsTextLineMarker -> int
Public Function Next (ByRef ppRetval As IVsTextLineMarker) As Integer

Parameters

ppRetval
IVsTextLineMarker

[out, retval)] Pointer to the next IVsTextLineMarker interface in the enumeration sequence.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

[C++]

HRESULT IVsEnumLineMarkers::Next(  
   [out, retval] IVsTextLineMarker** ppRetval  
);  

Applies to