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
- lpMenuWidths
Type: array<Microsoft.VisualStudio.OLE.Interop.OLEMENUGROUPWIDTHS[]
Remarks
For information on the COM interface, see IOleInPlaceFrame::InsertMenus
.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.