System.TypInfo.TParamFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TParamFlag = (pfVar, pfConst, pfArray, pfAddress, pfReference, pfOut, pfResult);

C++

enum DECLSPEC_DENUM TParamFlag : unsigned char {
  pfVar, pfConst, pfArray, pfAddress, pfReference, pfOut, pfResult
};

Properties

Type Visibility Source Unit Parent
enum public
System.TypInfo.pas
System.TypInfo.hpp
System.TypInfo System.TypInfo

Description

TParamFlag and TParamFlags indicates the attributes of a method parameter.

TParamFlags indicates the attributes of a parameter on a Delphi language function or procedure. It is a set of TParamFlag values:



Value Meaning

pfVar

The parameter is input/output. Caller must supply a variable to receive output.

pfConst

The parameter can't be changed by the function or procedure.

pfArray

The parameter represents an open array of values.

pfAddress

The parameter is a memory address (pointer).

pfReference

The parameter is passed by reference.

pfOut

The parameter is output. Caller supplies a variable to receive the output.