Meta Data Services Programming
IParameterDef Flags Property
This property supports flags that define whether the parameter is an optional parameter. It also defines whether it is passed by reference or value, and specifies which of the parameters is a return value.
The trailing parameters are optional. Only one parameter can be marked as a return value.
Dispatch Identifier: DISPID_ParDefFlags (103)
Property Data Type: long
The flag can take one of the following values.
Flag value | Description |
---|---|
PARAMFLAGS_IN = 1 | Passed by value |
PARAMFLAGS_OUT = 2 | Passed by reference |
PARAMFLAGS_RETVAL = 4 | A return value |
PARAMFLAGS_OPTIONAL = 8 | Optional parameter |