IVsWindowFrameNotify.OnDockableChange Method
Notifies the VSPackage that a window's docked state is being altered.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
‘선언
Function OnDockableChange ( _
fDockable As Integer _
) As Integer
‘사용 방법
Dim instance As IVsWindowFrameNotify
Dim fDockable As Integer
Dim returnValue As Integer
returnValue = instance.OnDockableChange(fDockable)
int OnDockableChange(
int fDockable
)
int OnDockableChange(
[InAttribute] int fDockable
)
function OnDockableChange(
fDockable : int
) : int
Parameters
fDockable
Type: System.Int32[in] true if the window frame is being docked.
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::OnDockableChange(
[in] BOOL fDockable
);
Permissions
- 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.