IVsUIElementPane.GetDefaultUIElementSize(SIZE[]) Method

Definition

Gets the default element size.

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

Parameters

psize
SIZE[]

[out] The size.

Returns

Int32

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

Remarks

Visual Studio calls this method to request the dimensions of the tool for its initial display. Subsequent sizes come from the persisted layout.

Applies to