共用方式為


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

'宣告
Function GetCurrentLevel ( _
    <OutAttribute> ByRef pLevel As Integer _
) As Integer
'用途
Dim instance As IVsExpansionIntellisenseHost
Dim pLevel As Integer
Dim returnValue As Integer

returnValue = instance.GetCurrentLevel(pLevel)
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

IVsExpansionIntellisenseHost Members

Microsoft.VisualStudio.TextManager.Interop Namespace