VsTextBufferClass.FindMarkerByLineIndex 方法

找到依据行索引的特定类型的标记。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
Public Overridable Function FindMarkerByLineIndex ( _
    iMarkerType As Integer, _
    iStartingLine As Integer, _
    iStartingIndex As Integer, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppMarker As IVsTextLineMarker _
) As Integer
public virtual int FindMarkerByLineIndex(
    int iMarkerType,
    int iStartingLine,
    int iStartingIndex,
    uint dwFlags,
    out IVsTextLineMarker ppMarker
)
public:
virtual int FindMarkerByLineIndex(
    [InAttribute] int iMarkerType, 
    [InAttribute] int iStartingLine, 
    [InAttribute] int iStartingIndex, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] IVsTextLineMarker^% ppMarker
)
abstract FindMarkerByLineIndex : 
        iMarkerType:int * 
        iStartingLine:int * 
        iStartingIndex:int * 
        dwFlags:uint32 * 
        ppMarker:IVsTextLineMarker byref -> int  
override FindMarkerByLineIndex : 
        iMarkerType:int * 
        iStartingLine:int * 
        iStartingIndex:int * 
        dwFlags:uint32 * 
        ppMarker:IVsTextLineMarker byref -> int
public function FindMarkerByLineIndex(
    iMarkerType : int, 
    iStartingLine : int, 
    iStartingIndex : int, 
    dwFlags : uint, 
    ppMarker : IVsTextLineMarker
) : int

参数

  • iMarkerType
    类型:Int32

    [in] 指定标记的类型查找。

  • iStartingLine
    类型:Int32

    [in] 启动行。

  • iStartingIndex
    类型:Int32

    [in] 行中的起始字符的索引。 必须小于或等于行的长度。

  • dwFlags
    类型:UInt32

    [in] 指定方向搜索标记。 有关 dwFlags 值列表,请参见 FINDMARKERFLAGS

返回值

类型:Int32

实现

IVsTextLines.FindMarkerByLineIndex(Int32, Int32, Int32, UInt32, IVsTextLineMarker%)

.NET Framework 安全性

请参阅

参考

VsTextBufferClass 类

Microsoft.VisualStudio.TextManager.Interop 命名空间