IVsDynamicTabProvider.GetTabStop(IVsTextLines, Int32, TabStop[]) 方法

定义

获取 TabStop 给定文本缓冲区和行的。

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

参数

pBuffer
IVsTextLines

中要在其中查找的文本缓冲区 TabStop

iLine
Int32

中要在其中找到的文本行 TabStop

sTabStop
TabStop[]

TabStop 指定的行和缓冲区的。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 textmgr:

[C++]

HRESULT IVsDynamicTabProvider::GetTabStop(  
   [in] IVsTextLines *pBuffer,  
   [in] long iLine,  
   [out] struct TabStop *sTabStop  
);  

适用于