IVsDynamicTabProvider.GetTabStop(IVsTextLines, Int32, TabStop[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 textmgr:
[C++]
HRESULT IVsDynamicTabProvider::GetTabStop(
[in] IVsTextLines *pBuffer,
[in] long iLine,
[out] struct TabStop *sTabStop
);