Returns the name of the attachment field.
Il s'agit d'une propriété en lecture seule ; elle peut être visualisée mais pas définie. The field name is set using Rational ClearQuest Designer, not the Rational ClearQuest API.
VBScript
attachmentField.FieldName
Perl
$attachmentField->GetFieldName();
VBScript
' This example assumes there is at least 1 attachment field
' associated with the record.
set attachFields = entity.AttachmentFields
set attachField1 = attachFields.Item(0)
name = attachField1.FieldName
Perl
# This example assumes that there is at least 1 attachment
# field associated with the record. Otherwise,
# GetAttachmentFields won't return anything interesting and an
# error would be generated
# Get the collection of attachment fields
$attachfields = $entity->GetAttachmentFields();
# Get the first attachment field
$attachfield1 = $attachfields->Item(0);
# And retrieve the name of that field
$name = $attachfield1->GetFieldName();