Condividi tramite


IVsDynamicTabProvider.GetTabStop(IVsTextLines, Int32, TabStop[]) Method

Definition

Gets the TabStop for the given text buffer and line.

public:
 int GetTabStop(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer, int iLine, cli::array <Microsoft::VisualStudio::TextManager::Interop::TabStop> ^ sTabStop);
int GetTabStop(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pBuffer, int iLine, std::Array <Microsoft::VisualStudio::TextManager::Interop::TabStop> const & sTabStop);
public int GetTabStop (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pBuffer, int iLine, Microsoft.VisualStudio.TextManager.Interop.TabStop[] sTabStop);
abstract member GetTabStop : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * int * Microsoft.VisualStudio.TextManager.Interop.TabStop[] -> int
Public Function GetTabStop (pBuffer As IVsTextLines, iLine As Integer, sTabStop As TabStop()) As Integer

Parameters

pBuffer
IVsTextLines

[in] The text buffer within which to find the TabStop.

iLine
Int32

[in] The text line within which to find the TabStop.

sTabStop
TabStop[]

[out] The TabStop for the specified line and buffer.

Returns

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  
);  

Applies to