Share via


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

'Declaration
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

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

See Also

Reference

IVsExpansionIntellisenseHost Interface

Microsoft.VisualStudio.TextManager.Interop Namespace