GetAllFieldValues

Description

Devuelve una matriz de objetos FieldInfo correspondiente a todos los campos del objeto Entity. La disposición de los objetos FieldInfo no sigue ningún orden concreto.

Sintaxis

VBScript

entity.GetAllFieldValues 

Perl

$entity->GetAllFieldValues(); 
Identificador
Description
entity
Un objeto Entity que representa un registro de datos de usuario. En un enganche, si se omite esta parte de la sintaxis, se presupone el objeto Entity correspondiente al registro de datos actual (sólo VBScript).
Valor de retorno
Para Visual Basic, devuelve un valor Variant que contiene una matriz de objetos FieldInfo, uno para cada campo del objeto Entity. Para Perl, devuelve una recopilación del objeto FieldInfos.

Ejemplos

VBScript

' Iterate through the fields and examine the field names and values
fieldObjs = GetAllFieldValues
For Each field In fieldObjs
   fieldValue = field.GetValue
   fieldName = field.GetName
   ' ... 
Next 

Perl

# Get the list of field values

$fieldvalues = $entity->GetAllFieldValues();



$numfields = $fieldvalues->Count();



for ($x = 0; $x < $numfields ; $x++)

   {

   $field = $fieldvalues->Item($x);                                       

   $fieldvalue = $field->GetValue();

   $fieldname = $field->GetName();

   # ... other field commands

   } 

Comentarios