IVsToolbox.GetFrame Method
Returns the window frame for the Toolbox.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetFrame ( _
<OutAttribute> ByRef ppWindowFrame As IVsWindowFrame _
) As Integer
'Usage
Dim instance As IVsToolbox
Dim ppWindowFrame As IVsWindowFrame
Dim returnValue As Integer
returnValue = instance.GetFrame(ppWindowFrame)
int GetFrame(
out IVsWindowFrame ppWindowFrame
)
int GetFrame(
[OutAttribute] IVsWindowFrame^% ppWindowFrame
)
abstract GetFrame :
ppWindowFrame:IVsWindowFrame byref -> int
function GetFrame(
ppWindowFrame : IVsWindowFrame
) : int
Parameters
- ppWindowFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame%
[out, retval] Pointer to the window frame for the Toolbox.
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 IVsToolbox::GetFrame(
[out, retval]IVsWindowFrame** ppWindowFrame
);
.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.