IVsDynamicTabProvider::GetTabStopElements Method (IVsTextLines^, Int32, UInt32)

 

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

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

int GetTabStopElements(
	IVsTextLines^ pBuffer,
	int iLine,
	[OutAttribute] unsigned int% cEl
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

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

iLine
Type: System::Int32

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

cEl
Type: System::UInt32

[out] The number of tab stops found in the specified line and buffer.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

[C++]

HRESULT IVsDynamicTabProvider::GetTabStopElements(
   [in] IVsTextLines *pBuffer,
   [in] long iLine,
   [out] UINT *cEl
);
Return to top
Show: