共用方式為


IOleInPlaceFrame.InsertMenus(IntPtr, OLEMENUGROUPWIDTHS[]) Method

Definition

public:
 void InsertMenus(IntPtr hmenuShared, cli::array <Microsoft::VisualStudio::OLE::Interop::OLEMENUGROUPWIDTHS> ^ lpMenuWidths);
public void InsertMenus (IntPtr hmenuShared, Microsoft.VisualStudio.OLE.Interop.OLEMENUGROUPWIDTHS[] lpMenuWidths);
abstract member InsertMenus : nativeint * Microsoft.VisualStudio.OLE.Interop.OLEMENUGROUPWIDTHS[] -> unit
Public Sub InsertMenus (hmenuShared As IntPtr, lpMenuWidths As OLEMENUGROUPWIDTHS())

Parameters

hmenuShared
IntPtr

nativeint

lpMenuWidths
OLEMENUGROUPWIDTHS[]

Remarks

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

Applies to