Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: bridge :: oleautomation ::

unpublished struct NamedArgument
Usage Restrictions
not published
Description
represents a named argument in a call to a method of an Automation object.

The Automation bridge accepts values of NamedArgument when a call to an Automation object is made. The call is done through the XInvocation::invoke method, which takes all arguments in a sequence of anys. Usually the order of the arguments must correspond to the order of arguments in the Automation method. By using instances of NamedArgument the arguments in the sequence can be unordered. The Automation object being called must support named arguments, otherwise the call fails.

Since
OOo 1.1.2

Elements' Summary
Name The name of the argument, for which NamedArgument::Value is intended.  
Value The value of the argument whoose name is the one as contained in the member Name.  
Elements' Details
Name
string Name;
Description
The name of the argument, for which NamedArgument::Value is intended.
Value
any Value;
Description
The value of the argument whoose name is the one as contained in the member Name.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.