IOleInPlaceFrame.SetMenu Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
‘선언
Sub SetMenu ( _
hmenuShared As IntPtr, _
HOLEMENU As IntPtr, _
hwndActiveObject As IntPtr _
)
void SetMenu(
IntPtr hmenuShared,
IntPtr HOLEMENU,
IntPtr hwndActiveObject
)
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.