Freigeben über


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 _
)
'Usage
Dim instance As IOleInPlaceFrame
Dim hmenuShared As IntPtr
Dim HOLEMENU As IntPtr
Dim hwndActiveObject As IntPtr

instance.SetMenu(hmenuShared, HOLEMENU, _
    hwndActiveObject)
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

Remarks

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

.NET Framework Security

See Also

Reference

IOleInPlaceFrame Interface

IOleInPlaceFrame Members

Microsoft.VisualStudio.OLE.Interop Namespace