GetFieldStringValues

Description

This Entity object method allows multiple field values to be retrieved with one call. The field_names parameter is a string array of field names, and the result is a string array of field values, in the same order as the input array. If there is an error retrieving any one of the named fields (for example, if you specify an incorrect name of a field), an exception is thrown.

Remarque : This method became available in version 2003.06.00.

Syntaxe

VBScript

entity.GetFieldStringValues field_names 

Perl

$entity->GetFieldStringValues (field_names); 
Identificateur
Description
entity
Objet Entity représentant un enregistrement de données utilisateur. Si vous omettez cette partie de la syntaxe au sein d'un point d'ancrage, l'objet Entity correspondant à l'enregistrement de données en cours est faux (VBScript uniquement).
field_names
Dans VBScript, valeur de type Variant contenant un tableau de chaînes. Each String contains a valid field name of this Entity object.

For Perl, a reference to an array of strings containing the valid field names.

Return value
For VBScript, a Variant containing an array of strings. Chaque chaîne contient la ou les valeurs stockées pour chacun des noms de zone spécifiés.

For Perl, a reference to an array of strings containing the value or values stored for each of the specified field names.

Exemple

Perl

my @fieldnames = ("submitter", "owner");
my $fieldvalues = $entity->GetFieldStringValues (\@fieldnames);

Commentaires