Identifies the behavior of the specified field.
A field can be mandatory, optional, or read-only. If the Entity does not have an action running at the time this method is called, the return value will always be READONLY. If an action is running, the return value can be READONLY, MANDATORY, or OPTIONAL.
This method never returns the value USE_HOOK. If the behavior of the field is determined by a permission hook, IBM® Rational ClearQuest has already executed that hook and cached the resulting value. This method then returns the cached value.
VBScript
fieldInfo.GetRequiredness
Perl
$fieldInfo->GetRequiredness();