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
'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 vsshell.idl:
HRESULT IVsWindowFrameNotify::OnShow(
[in] FRAMESHOW fShow
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.