Partager via


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
  • lindex
    Type: Int32
  • hWndParent
    Type: IntPtr

Return Value

Type: Int32

Remarks

For information on the COM interface, see IOleObject::DoVerb

.NET Framework Security

See Also

Reference

IOleObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace