OLEFormat.DoVerb(Object) 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.

public void DoVerb (ref object VerbIndex);
abstract member DoVerb : obj -> unit
Public Sub DoVerb (Optional ByRef VerbIndex As 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.

Applies to