RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AutoCmd::GetNamedParm Method

Returns the value of a named parameter.

Pascal
function GetNamedParm(const idx: Byte): Variant&;
C++
Variant& GetNamedParm(const Byte idx);

Call System::AutoCmd::GetNamedParm to determine the value of named parameter that was assigned using the << operator. The value is returned as a Variant object. Its underlying type can be obtained using the GetNamedArgType method. 

The idx parameter is the index of the value in the System::AutoCmd::AutoCmd object’s named parameter list, where 0 is the index of the first argument. Use the GetNamedArgCount method to obtain an upper limit of possible values. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!