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
- hmenuShared
Type: System.IntPtr
- HOLEMENU
Type: System.IntPtr
- hwndActiveObject
Type: System.IntPtr
Remarks
For information on the COM interface, see IOleInPlaceFrame::SetMenu
.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.