Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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() _
)
'Usage
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.