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() _
)
用法
Dim instance As IOleInPlaceFrame
Dim hmenuShared As IntPtr
Dim lpMenuWidths As OLEMENUGROUPWIDTHS()
instance.InsertMenus(hmenuShared, lpMenuWidths)
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: 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.