IVsDynamicTabProvider.GetTabStopElements Method

Gets the number of tab stops in the specified text buffer and line.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

声明
Function GetTabStopElements ( _
    pBuffer As IVsTextLines, _
    iLine As Integer, _
    <OutAttribute> ByRef cEl As UInteger _
) As Integer
int GetTabStopElements(
    IVsTextLines pBuffer,
    int iLine,
    out uint cEl
)
int GetTabStopElements(
    [InAttribute] IVsTextLines^ pBuffer, 
    [InAttribute] int iLine, 
    [OutAttribute] unsigned int% cEl
)
abstract GetTabStopElements : 
        pBuffer:IVsTextLines * 
        iLine:int * 
        cEl:uint32 byref -> int 
function GetTabStopElements(
    pBuffer : IVsTextLines, 
    iLine : int, 
    cEl : uint
) : int

Parameters

  • iLine
    Type: System.Int32
    [in] The line within which to find tab stops.
  • cEl
    Type: System.UInt32%
    [out] The number of tab stops found in the specified line and buffer.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

[C++]

HRESULT IVsDynamicTabProvider::GetTabStopElements(
   [in] IVsTextLines *pBuffer,
   [in] long iLine,
   [out] UINT *cEl
);

.NET Framework Security

See Also

Reference

IVsDynamicTabProvider Interface

Microsoft.VisualStudio.TextManager.Interop Namespace