Partager via


IVsStatusbar.GetFreezeCount Method

Returns the number of freeze holds on the status bar.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function GetFreezeCount ( _
    <OutAttribute> ByRef plCount As Integer _
) As Integer
'Utilisation
Dim instance As IVsStatusbar
Dim plCount As Integer
Dim returnValue As Integer

returnValue = instance.GetFreezeCount(plCount)
int GetFreezeCount(
    out int plCount
)
int GetFreezeCount(
    [OutAttribute] int% plCount
)
function GetFreezeCount(
    plCount : int
) : int

Parameters

  • plCount
    Type: System.Int32%

    [out] Count of the number of freeze holds currently in place on the status bar.

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 vsshell.idl:

HRESULT IVsStatusbar::GetFreezeCount(
   [out] long *plCount
);

Permissions

See Also

Reference

IVsStatusbar Interface

IVsStatusbar Members

Microsoft.VisualStudio.Shell.Interop Namespace