Sign in Join
FPDoc Onlineexperiment

TStoredValue.SetDisplayName procedure

Member of TStoredValueprotectedIn unit PropertyStorage

Sets the value for the DisplayName property in the collection item.

Declaration

pascal
procedure SetDisplayName(const AValue: string); override

Arguments

AValue

New value for the property.

Description

SetDisplayName is overridden in TStoredValue to set the value for the DisplayName property. SetDisplayName ensures that a new value is not a duplicate of an existing DisplayName value in the TStoredValues. An Exception is raised when AValue is already used in the Collection.

SetDisplayName calls the inherited method prior to exit.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.