Category External tasks, Object ProArgument

Function ProArgumentByLabelGet


Description
Returns the value of a named argument in the list.
Synopsis
#include <ProToolkitDll.h>
ProErrorProArgumentByLabelGet(
ProArgument* arg_array
/* (In)
The ProArray of arguments.
*/
ProName label
/* (In)
The argument label.
*/
ProValueData* data
/* (Out)
The argument value.
*/
)
Returns
PRO_TK_NO_ERRORThe argument value was returned.
PRO_TK_BAD_INPUTSOne or more input argument was invalid.
PRO_TK_E_NOT_FOUNDThe argument label was not found in the array.

Manual References:

  1. Task Based Application Libraries: ProArgument and Argument Management
  2. Task Based Application Libraries: ProArgument and Argument Management

Sample Code References:

  1. pt_userguide ( UgInterfaceExport.c )
  2. pt_userguide ( UgInterfaceExport.c )