EmptyParam
f90VB Modules
f90VBDefs, f90VBVariants, f90VBAutomation
Summary
Returns a variant used to indicate an empty parameter in calls to f90VBAutomation subroutines.
Syntax
| type(VARIANT) function EmptyParam | () |
Arguments
This function has no arguments.
Comments
Use this function to indicate optional arguments that are not passed when calling the following f90VBAutomation procedures: PropertyGet, PropertySet, PropertyPut, ExecMethod and Invoke.
The variant returned by function EmptyParam has a VT-Type of VT_ERROR and its scodeVal is set to DISP_E_PARAMNOTFOUND.
Examples
See Example 6.2 (Chapter 6 - User Manual).
Related Topics
| For information about: | See: | |
| Setting an object property | PropertyPut and PropertySet | |
| Getting the value of an object property | PropertyGet | |
| Executing an object’s method | ExecMethod | |
| Generic Invoke function | Invoke | |