| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Set value of an ordinal property
Source position: typinfo.pp line 347
| procedure SetOrdProp( | 
| Instance: TObject; | 
| PropInfo: PPropInfo; | 
| Value: Int64 | 
| ); | 
| Instance: TObject; | 
| const PropName: string; | 
| Value: Int64 | 
| ); | 
SetOrdProp assigns Value to the ordinal property described by PropInfo or with name Propname for the object Instance.
Ordinal properties that can be set include:
For an example, see GetOrdProp.
No checking is done whether Instance is non-nil, or whether PropInfo describes a valid ordinal property of Instance. No range checking is performed. Specifying an invalid property name in PropName will result in an EPropertyError exception.
| 
 | Get the value of an ordinal property | |
| 
 | Set value of a string property | |
| 
 | Set value of a float property. | |
| 
 | Set value of a Int64 property | |
| 
 | Set the value of a method property |