共用方式為


IVsWindowFrameNotify3.OnShow Method

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

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

Syntax

'Declaration
Function OnShow ( _
    fShow As Integer _
) As Integer
int OnShow(
    int fShow
)
int OnShow(
    [InAttribute] int fShow
)
abstract OnShow : 
        fShow:int -> int
function OnShow(
    fShow : int
) : int

Parameters

  • fShow
    Type: Int32

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

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsWindowFrameNotify3::OnShow(
   [in] FRAMESHOW fShow
);

.NET Framework Security

See Also

Reference

IVsWindowFrameNotify3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace