IVsDynamicTabProvider::GetTabStop Method (IVsTextLines^, Int32, array<TabStop>^)

 

Gets the TabStop for the given text buffer and line.

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

int GetTabStop(
	IVsTextLines^ pBuffer,
	int iLine,
	array<TabStop>^ sTabStop
)

Parameters

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

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

iLine
Type: System::Int32

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

sTabStop
Type: array<Microsoft.VisualStudio.TextManager.Interop::TabStop>^

[out] The TabStop for 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::GetTabStop(
   [in] IVsTextLines *pBuffer,
   [in] long iLine,
   [out] struct TabStop *sTabStop
);
Return to top
Show: