Compartir a través de


IVsWindowFrameNotify.OnShow Method

Notifies the VSPackage of a change in the window's display state.

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

Syntax

'Declaración
Function OnShow ( _
    fShow As Integer _
) As Integer
'Uso
Dim instance As IVsWindowFrameNotify
Dim fShow As Integer
Dim returnValue As Integer

returnValue = instance.OnShow(fShow)
int OnShow(
    int fShow
)
int OnShow(
    [InAttribute] int fShow
)
function OnShow(
    fShow : int
) : int

Parameters

  • fShow
    Type: System.Int32

    [in] Specifies the reason for the display state change. Value taken from the __FRAMESHOW enumeration.

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 IVsWindowFrameNotify::OnShow(
   [in] FRAMESHOW fShow
);

Permissions

See Also

Reference

IVsWindowFrameNotify Interface

IVsWindowFrameNotify Members

Microsoft.VisualStudio.Shell.Interop Namespace