Dela via


IOleInPlaceFrame.SetMenu Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Sub SetMenu ( _
    hmenuShared As IntPtr, _
    HOLEMENU As IntPtr, _
    hwndActiveObject As IntPtr _
)
void SetMenu(
    IntPtr hmenuShared,
    IntPtr HOLEMENU,
    IntPtr hwndActiveObject
)
void SetMenu(
    [InAttribute] IntPtr hmenuShared, 
    [InAttribute] IntPtr HOLEMENU, 
    [InAttribute] IntPtr hwndActiveObject
)
abstract SetMenu : 
        hmenuShared:IntPtr * 
        HOLEMENU:IntPtr * 
        hwndActiveObject:IntPtr -> unit
function SetMenu(
    hmenuShared : IntPtr, 
    HOLEMENU : IntPtr, 
    hwndActiveObject : IntPtr
)

Parameters

  • hmenuShared
    Type: IntPtr
  • HOLEMENU
    Type: IntPtr
  • hwndActiveObject
    Type: IntPtr

Remarks

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

.NET Framework Security

See Also

Reference

IOleInPlaceFrame Interface

Microsoft.VisualStudio.OLE.Interop Namespace