IVsExpansionIntellisenseHost.GetCurrentLevel Method
Returns the current position.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaración
Function GetCurrentLevel ( _
<OutAttribute> ByRef pLevel As Integer _
) As Integer
int GetCurrentLevel(
out int pLevel
)
int GetCurrentLevel(
[OutAttribute] int% pLevel
)
abstract GetCurrentLevel :
pLevel:int byref -> int
function GetCurrentLevel(
pLevel : int
) : int
Parameters
- pLevel
Type: System.Int32%
[out] The current position.
Return Value
Type: System.Int32
If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.
Remarks
C++
From singlefileeditor.idl:
HRESULT IVsExpansionIntellisenseHost::GetCurrentLevel([out] long *pLevel);
.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.