DesignerWindowPane.IVsWindowFrameNotify.OnSize Method
Notifies the Package that a window is being resized.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Private Function OnSize As Integer Implements IVsWindowFrameNotify.OnSize
int IVsWindowFrameNotify.OnSize()
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
.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.