IVsDynamicTabProvider.GetTabStopElements Method
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)
Syntax
声明
Function GetTabStopElements ( _
pBuffer As IVsTextLines, _
iLine As Integer, _
<OutAttribute> ByRef cEl As UInteger _
) As Integer
int GetTabStopElements(
IVsTextLines pBuffer,
int iLine,
out uint cEl
)
int GetTabStopElements(
[InAttribute] IVsTextLines^ pBuffer,
[InAttribute] int iLine,
[OutAttribute] unsigned int% cEl
)
abstract GetTabStopElements :
pBuffer:IVsTextLines *
iLine:int *
cEl:uint32 byref -> int
function GetTabStopElements(
pBuffer : IVsTextLines,
iLine : int,
cEl : uint
) : int
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.
Remarks
COM Signature
From textmgr.idl:
[C++]
HRESULT IVsDynamicTabProvider::GetTabStopElements(
[in] IVsTextLines *pBuffer,
[in] long iLine,
[out] UINT *cEl
);
.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.