VsTextBufferClass.IVsTextLines_GetLengthOfLine 方法

返回一行的长度缓冲区中的。

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

语法

声明
Public Overridable Function IVsTextLines_GetLengthOfLine ( _
    iLine As Integer, _
    <OutAttribute> ByRef piLength As Integer _
) As Integer
public virtual int IVsTextLines_GetLengthOfLine(
    int iLine,
    out int piLength
)
public:
virtual int IVsTextLines_GetLengthOfLine(
    [InAttribute] int iLine, 
    [OutAttribute] int% piLength
)
abstract IVsTextLines_GetLengthOfLine : 
        iLine:int * 
        piLength:int byref -> int  
override IVsTextLines_GetLengthOfLine : 
        iLine:int * 
        piLength:int byref -> int
public function IVsTextLines_GetLengthOfLine(
    iLine : int, 
    piLength : int
) : int

参数

  • iLine
    类型:Int32

    [in] 长度请求行的编号。

  • piLength
    类型:Int32%

    [out] 对于行的长度的指针。

返回值

类型:Int32

实现

IVsTextLines.GetLengthOfLine(Int32, Int32%)

.NET Framework 安全性

请参阅

参考

VsTextBufferClass 类

Microsoft.VisualStudio.TextManager.Interop 命名空间