IOleObject.DoVerb Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function DoVerb ( _
iVerb As Integer, _
lpmsg As MSG(), _
pActiveSite As IOleClientSite, _
lindex As Integer, _
hWndParent As IntPtr, _
lprcPosRect As RECT() _
) As Integer
int DoVerb(
int iVerb,
MSG[] lpmsg,
IOleClientSite pActiveSite,
int lindex,
IntPtr hWndParent,
RECT[] lprcPosRect
)
int DoVerb(
[InAttribute] int iVerb,
[InAttribute] array<MSG>^ lpmsg,
[InAttribute] IOleClientSite^ pActiveSite,
[InAttribute] int lindex,
[InAttribute] IntPtr hWndParent,
[InAttribute] array<RECT>^ lprcPosRect
)
abstract DoVerb :
iVerb:int *
lpmsg:MSG[] *
pActiveSite:IOleClientSite *
lindex:int *
hWndParent:IntPtr *
lprcPosRect:RECT[] -> int
function DoVerb(
iVerb : int,
lpmsg : MSG[],
pActiveSite : IOleClientSite,
lindex : int,
hWndParent : IntPtr,
lprcPosRect : RECT[]
) : int
Parameters
- iVerb
Type: Int32
- lpmsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
- pActiveSite
Type: Microsoft.VisualStudio.OLE.Interop.IOleClientSite
- lindex
Type: Int32
- hWndParent
Type: IntPtr
- lprcPosRect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
Return Value
Type: Int32
Remarks
For information on the COM interface, see IOleObject::DoVerb
.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.