共用方式為


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

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

Parameters

  • fDockable
    Type: Int32

    [in] true if the window frame is being docked.

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::OnDockableChange(
   [in] BOOL fDockable
);

.NET Framework Security

See Also

Reference

IVsWindowFrameNotify Interface

Microsoft.VisualStudio.Shell.Interop Namespace