Partager via


IVsToolbox2.GetFrame Method (IVsWindowFrame%)

Returns the window frame for the Toolbox.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function GetFrame ( _
    <OutAttribute> ByRef ppWindowFrame As IVsWindowFrame _
) As Integer
'Utilisation
Dim instance As IVsToolbox2
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

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsToolbox.GetFrame(IVsWindowFrame%)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::GetFrame(
   [out, retval]IVsWindowFrame** ppWindowFrame
);

.NET Framework Security

See Also

Reference

IVsToolbox2 Interface

IVsToolbox2 Members

GetFrame Overload

Microsoft.VisualStudio.Shell.Interop Namespace