[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'typinfo' (#rtl) |
Set value of set-typed property.
Source position: line 0
procedure SetSetProp( |
Instance: TObject; |
const PropName: String; |
const Value: String |
); |
Instance: TObject; |
const PropInfo: PPropInfo; |
const Value: String |
); |
SetSetProp sets the property specified by PropInfo or PropName for object Instance to Value. Value is a string which contains a comma-separated list of values, each value being a string-representation of the enumerated value that should be included in the set. The value should be accepted by the StringToSet function.
The value can be formed using the SetToString function.
For an example, see GetSetProp.
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.
|
Return the value of a set property. |
|
|
Set 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 |
|
|
Convert set to a string description |
|
|
Convert string description to a set. |
No notes exist for this page yet.