Freigeben über


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

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

See Also

Reference

IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace