VsTextBufferClass.FindMarkerByLineIndex Yöntem

Tanım

Bir satır dizinini temel alan belirli bir türün işaretçisini bulur.

public:
 virtual int FindMarkerByLineIndex(int iMarkerType, int iStartingLine, int iStartingIndex, System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ % ppMarker) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::FindMarkerByLineIndex;
public:
 virtual int FindMarkerByLineIndex(int iMarkerType, int iStartingLine, int iStartingIndex, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ &  ppMarker) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::FindMarkerByLineIndex;
 virtual int FindMarkerByLineIndex(int iMarkerType, int iStartingLine, int iStartingIndex, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker const & & ppMarker);
public virtual int FindMarkerByLineIndex (int iMarkerType, int iStartingLine, int iStartingIndex, uint dwFlags, out Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker ppMarker);
abstract member FindMarkerByLineIndex : int * int * int * uint32 * IVsTextLineMarker -> int
override this.FindMarkerByLineIndex : int * int * int * uint32 * IVsTextLineMarker -> int
Public Overridable Function FindMarkerByLineIndex (iMarkerType As Integer, iStartingLine As Integer, iStartingIndex As Integer, dwFlags As UInteger, ByRef ppMarker As IVsTextLineMarker) As Integer

Parametreler

iMarkerType
Int32

'ndaki Bulunacak işaretin türünü belirtir.

iStartingLine
Int32

'ndaki Başlangıç satırı.

iStartingIndex
Int32

'ndaki Satır içindeki karakter dizini başlatılıyor. Satırın uzunluğuna eşit veya ondan küçük olmalıdır.

dwFlags
UInt32

'ndaki İşaretin aranacağı yönü belirtir. Değerlerin listesi için dwFlags bkz FINDMARKERFLAGS ..

ppMarker
IVsTextLineMarker

dışı IVsTextLineMarker Arabirim işaretçisi (yani, metin işaretçisi).

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK ; Aksi takdirde, bir hata kodu döndürür.

Uygulamalar

Şunlara uygulanır