첨부 필드의 이름을 리턴합니다.
이는 읽기 전용 특성입니다. 즉, 볼 수는 있으나 설정할 수는 없습니다. 필드 이름은 Rational® ClearQuest® API가 아닌 Rational ClearQuest Designer를 사용하여 설정됩니다.
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();