WindowPane.IVsWindowPane.GetDefaultSize Method
Gets the default size of the window pane.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣告
Private Function GetDefaultSize ( _
size As SIZE() _
) As Integer Implements IVsWindowPane.GetDefaultSize
'用途
Dim instance As WindowPane
Dim size As SIZE()
Dim returnValue As Integer
returnValue = CType(instance, IVsWindowPane).GetDefaultSize(size)
int IVsWindowPane.GetDefaultSize(
SIZE[] size
)
private:
virtual int GetDefaultSize(
array<SIZE>^ size
) sealed = IVsWindowPane::GetDefaultSize
private abstract GetDefaultSize :
size:SIZE[] -> int
private override GetDefaultSize :
size:SIZE[] -> int
JScript does not support explicit interface implementations.
Parameters
- size
Type: array<Microsoft.VisualStudio.OLE.Interop.SIZE[]
An array of SIZE structures.
Return Value
Type: System.Int32
When implemented by derived classes, if the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsWindowPane.GetDefaultSize(array<SIZE[])
Remarks
By default this method returns E_NOTIMPL.
.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.