IVsDynamicTabProvider.GetTabStop Method

Gets the TabStop for the given text buffer and line.

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

Syntax

声明
Function GetTabStop ( _
    pBuffer As IVsTextLines, _
    iLine As Integer, _
    <OutAttribute> sTabStop As TabStop() _
) As Integer
int GetTabStop(
    IVsTextLines pBuffer,
    int iLine,
    TabStop[] sTabStop
)
int GetTabStop(
    [InAttribute] IVsTextLines^ pBuffer, 
    [InAttribute] int iLine, 
    [OutAttribute] array<TabStop>^ sTabStop
)
abstract GetTabStop : 
        pBuffer:IVsTextLines * 
        iLine:int * 
        sTabStop:TabStop[] byref -> int 
function GetTabStop(
    pBuffer : IVsTextLines, 
    iLine : int, 
    sTabStop : TabStop[]
) : int

Parameters

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::GetTabStop(
   [in] IVsTextLines *pBuffer,
   [in] long iLine,
   [out] struct TabStop *sTabStop
);

.NET Framework Security

See Also

Reference

IVsDynamicTabProvider Interface

Microsoft.VisualStudio.TextManager.Interop Namespace