IOleObject.DoVerb Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Déclaration
Function DoVerb ( _
iVerb As Integer, _
lpmsg As MSG(), _
pActiveSite As IOleClientSite, _
lindex As Integer, _
hWndParent As IntPtr, _
lprcPosRect As RECT() _
) As Integer
'Utilisation
Dim instance As IOleObject
Dim iVerb As Integer
Dim lpmsg As MSG()
Dim pActiveSite As IOleClientSite
Dim lindex As Integer
Dim hWndParent As IntPtr
Dim lprcPosRect As RECT()
Dim returnValue As Integer
returnValue = instance.DoVerb(iVerb, lpmsg, _
pActiveSite, lindex, hWndParent, _
lprcPosRect)
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: System.Int32
- lpmsg
Type: array<Microsoft.VisualStudio.OLE.Interop.MSG[]
- pActiveSite
Type: Microsoft.VisualStudio.OLE.Interop.IOleClientSite
- lindex
Type: System.Int32
- hWndParent
Type: System.IntPtr
- lprcPosRect
Type: array<Microsoft.VisualStudio.OLE.Interop.RECT[]
Return Value
Type: System.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.