LibreOffice
LibreOffice 24.2 SDK API Reference
|
An object supporting this interface indicates to interested parties or clients the name of the default method for this object. More...
import"XDefaultMethod.idl";
Public Member Functions | |
string | getDefaultMethodName () |
Returns the name of the default method. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
An object supporting this interface indicates to interested parties or clients the name of the default method for this object.
For example where ExampleObject is an instance of an Object that supports this interface which returns the default method name "defaultMethod".A scripting engine could use this information to support syntax like
"ExampleObject( Param1 ... ParamN )"
which would be equivalent to writing
"ExampleObject.defaultMethod( Param1 ... ParamN )"
string getDefaultMethodName | ( | ) |
Returns the name of the default method.
string
name of default method