Partager via


IOleInPlaceFrame.InsertMenus Method

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

Syntax

'Declaration
Sub InsertMenus ( _
    hmenuShared As IntPtr, _
    <OutAttribute> lpMenuWidths As OLEMENUGROUPWIDTHS() _
)
void InsertMenus(
    IntPtr hmenuShared,
    OLEMENUGROUPWIDTHS[] lpMenuWidths
)
void InsertMenus(
    [InAttribute] IntPtr hmenuShared, 
    [InAttribute] [OutAttribute] array<OLEMENUGROUPWIDTHS>^ lpMenuWidths
)
abstract InsertMenus : 
        hmenuShared:IntPtr * 
        lpMenuWidths:OLEMENUGROUPWIDTHS[] byref -> unit
function InsertMenus(
    hmenuShared : IntPtr, 
    lpMenuWidths : OLEMENUGROUPWIDTHS[]
)

Parameters

  • hmenuShared
    Type: IntPtr

Remarks

For information on the COM interface, see IOleInPlaceFrame::InsertMenus

.NET Framework Security

See Also

Reference

IOleInPlaceFrame Interface

Microsoft.VisualStudio.OLE.Interop Namespace