| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Set value of a string property
Source position: typinfo.pp line 363
| procedure SetStrProp( | 
| Instance: TObject; | 
| const PropName: string; | 
| const Value: AnsiString | 
| ); | 
| Instance: TObject; | 
| PropInfo: PPropInfo; | 
| const Value: Ansistring | 
| ); | 
SetStrProp assigns Value to the string property described by PropInfo or with name Propname for object Instance.
For an example, see GetStrProp
No checking is done whether Instance is non-nil, or whether PropInfo describes a valid string property of Instance. Specifying an invalid property name in PropName will result in an EPropertyError exception.
| 
 | Return the value of a string property. | |
| 
 | Set a widestring property | |
| 
 | Set value of an ordinal property | |
| 
 | Set value of a float property. | |
| 
 | Set value of a Int64 property | |
| 
 | Set the value of a method property |