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
'宣告
Function OnShow ( _
fShow As Integer _
) As Integer
'用途
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
)
abstract OnShow :
fShow:int -> int
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
);
.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.