Compartilhar via


IVsDynamicTabProvider.GetTabStopElements(IVsTextLines, Int32, UInt32) Method

Definition

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

public:
 int GetTabStopElements(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer, int iLine, [Runtime::InteropServices::Out] System::UInt32 % cEl);
int GetTabStopElements(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pBuffer, int iLine, [Runtime::InteropServices::Out] unsigned int & cEl);
public int GetTabStopElements (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pBuffer, int iLine, out uint cEl);
abstract member GetTabStopElements : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * int * uint32 -> int
Public Function GetTabStopElements (pBuffer As IVsTextLines, iLine As Integer, ByRef cEl As UInteger) As Integer

Parameters

pBuffer
IVsTextLines

[in] The text buffer within which to find tab stops.

iLine
Int32

[in] The line within which to find tab stops.

cEl
UInt32

[out] The number of tab stops found in 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::GetTabStopElements(  
   [in] IVsTextLines *pBuffer,  
   [in] long iLine,  
   [out] UINT *cEl  
);  

Applies to