OLEFormat.DoVerb Method

Requests that an OLE object perform one of its available verbs— the actions an OLE object takes to activate its contents. Each OLE object supports a set of verbs that pertain to that object.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub DoVerb ( _
    ByRef VerbIndex As Object _
)
'Usage
Dim instance As OLEFormat
Dim VerbIndex As Object

instance.DoVerb(VerbIndex)
void DoVerb(
    ref Object VerbIndex
)

Parameters

  • VerbIndex
    Type: System.Object%
    Optional Object. The verb that the OLE object should perform. If this argument is omitted, the default verb is sent. If the OLE object does not support the requested verb, an error will occur. Can be any WdOLEVerb constant.

See Also

Reference

OLEFormat Interface

OLEFormat Members

Microsoft.Office.Interop.Word Namespace