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
int DoVerb(
int iVerb,
MSG[] lpmsg,
IOleClientSite pActiveSite,
int lindex,
IntPtr hWndParent,
RECT[] lprcPosRect
)
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.