IOleInPlaceFrame.InsertMenus Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub InsertMenus ( _
hmenuShared As IntPtr, _
<OutAttribute> lpMenuWidths As OLEMENUGROUPWIDTHS() _
)
void InsertMenus(
IntPtr hmenuShared,
OLEMENUGROUPWIDTHS[] lpMenuWidths
)
Parameters
- hmenuShared
Type: System.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.