次の方法で共有


IOleObject.DoVerb Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣言
Function DoVerb ( _
    iVerb As Integer, _
    lpmsg As MSG(), _
    pActiveSite As IOleClientSite, _
    lindex As Integer, _
    hWndParent As IntPtr, _
    lprcPosRect As RECT() _
) As Integer
'使用
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

Return Value

Type: System.Int32

Remarks

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

.NET Framework Security

See Also

Reference

IOleObject Interface

IOleObject Members

Microsoft.VisualStudio.OLE.Interop Namespace