Compartir a través de


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

'Declaración
Function OnDockableChange ( _
    fDockable As Integer _
) As Integer
'Uso
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
)
abstract OnDockableChange : 
        fDockable:int -> int 
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
);

.NET Framework Security

See Also

Reference

IVsWindowFrameNotify Interface

IVsWindowFrameNotify Members

Microsoft.VisualStudio.Shell.Interop Namespace