ParameterDef Flags Property

Meta Data Services Programming

Meta Data Services Programming

ParameterDef Flags Property

This property is an integer that determines the attributes of a parameter. The sum total of the flag values determines the combination of flags that apply.

Syntax

Object.Flags=integer

The Flags property syntax has the following parts.

Part Description
object The ParameterDef object
integer A single flag name value, or an aggregated value that results from combining flag values
Remarks

Parameter definition flags, values, and descriptions are provided in the following table.

Flag Name and Value Description
PARAMFLAGS_IN = 1 The parameter accepts a value passed to it as input.
PARAMFLAGS_OUT = 2 The parameter passes an output value by reference.
PARAMFLAGS_RETVAL = 4 The parameter passes a return value. Only one parameter for each method can be marked as a return value.
PARAMFLAGS_OPTIONAL = 8 An optional parameter. Once you define a parameter as optional, all subsequent parameters that follow must also be optional.

See Also

ParameterDef Object