この Entity オブジェクトの履歴フィールドを含む、HistoryFields コレクション オブジェクトを戻します。
このプロパティは読み取り専用です。このフィールドはプログラムで変更できません。履歴オブジェクトの概要については、「History オブジェクト」を参照してください。
VBScript
entity.HistoryFields
Perl
$entity->GetHistoryFields();
VBScript
set fields = entity.HistoryFields For Each fieldObj in fields ' Look at the contents of the HistoryField object ' ... Next
Perl
# Get the list of history fields $historyfields = $entity->GetHistoryFields(); # Find out how many history fields there # are so the for loop can iterate them $numfields = $historyfields->Count(); for ($x = 0; $x < $numfields ; $x++) { # Get each history field $onefield = $historyfields->Item($x); # ...do some work with $onefield }