Compartilhar via


IVsWindowPane.GetDefaultSize(SIZE[]) Method

Definition

Returns the default size of a given window pane.

public:
 int GetDefaultSize(cli::array <Microsoft::VisualStudio::OLE::Interop::SIZE> ^ pSize);
public:
 int GetDefaultSize(Platform::Array <Microsoft::VisualStudio::OLE::Interop::SIZE> ^ pSize);
int GetDefaultSize(std::Array <Microsoft::VisualStudio::OLE::Interop::SIZE> const & pSize);
public int GetDefaultSize (Microsoft.VisualStudio.OLE.Interop.SIZE[] pSize);
abstract member GetDefaultSize : Microsoft.VisualStudio.OLE.Interop.SIZE[] -> int
Public Function GetDefaultSize (pSize As SIZE()) As Integer

Parameters

pSize
SIZE[]

[out] Pointer to the size of a given window pane.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsWindowPane::GetDefaultSize(  
   [out] SIZE *psize  
);  

Applies to