IVsDynamicTabProvider.GetTabStop Method
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)
Syntax
'Declaração
Function GetTabStop ( _
pBuffer As IVsTextLines, _
iLine As Integer, _
<OutAttribute> sTabStop As TabStop() _
) As Integer
int GetTabStop(
IVsTextLines pBuffer,
int iLine,
TabStop[] sTabStop
)
int GetTabStop(
[InAttribute] IVsTextLines^ pBuffer,
[InAttribute] int iLine,
[OutAttribute] array<TabStop>^ sTabStop
)
abstract GetTabStop :
pBuffer:IVsTextLines *
iLine:int *
sTabStop:TabStop[] byref -> int
function GetTabStop(
pBuffer : IVsTextLines,
iLine : int,
sTabStop : TabStop[]
) : int
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.
Remarks
COM Signature
From textmgr.idl:
[C++]
HRESULT IVsDynamicTabProvider::GetTabStop(
[in] IVsTextLines *pBuffer,
[in] long iLine,
[out] struct TabStop *sTabStop
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.