RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TypInfo.TParamFlag Enumeration

TParamFlag and TParamFlags indicates the attributes of a method parameter.

Pascal
TParamFlag = (
  pfVar,
  pfConst,
  pfArray,
  pfAddress,
  pfReference,
  pfOut
);
C++
enum TParamFlag {
  pfVar,
  pfConst,
  pfArray,
  pfAddress,
  pfReference,
  pfOut
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!