ControlSite.Verb Method
Sends a verb to the server of the ControlSite.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Function Verb ( _
Verb As XlOLEVerb _
) As Object
Object Verb(
XlOLEVerb Verb
)
Parameters
Verb
Type: Microsoft.Office.Interop.Excel.XlOLEVerbOne of the XlOLEVerb values that represents the verb that the server of the ControlSite should act on.
Return Value
Type: System.Object
If the Verb parameter is omitted, the default verb is sent. The available verbs are determined by the object's source application. Typical verbs for an ControlSite are Open and Primary (represented by the xlVerbOpen and xlVerbPrimary values).
.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.