Soap.TypeTrans.SetEnumPropEx
Delphi
procedure SetEnumPropEx(Instance: TObject; PropInfo: PPropInfo; const Value: string);
C++
extern DELPHI_PACKAGE void __fastcall SetEnumPropEx _DEPRECATED_ATTRIBUTE0 (System::TObject* Instance, System::Typinfo::PPropInfo PropInfo, const System::UnicodeString Value);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | Soap.TypeTrans.pas Soap.TypeTrans.hpp | Soap.TypeTrans | Soap.TypeTrans | 
Description
Warning: SetEnumPropEx is deprecated. Please use SetEnumPropExW.
Sets the value of a property whose type is an enumeration.
SetEnumPropEx uses RTTI to set the value of a property that is an enumeration value.
The parameters are described in the following table:
| Parameter | Significance | 
|---|---|
| Instance | The class instance that has the target property. | 
| PropInfo | The property run-time type information (this is how the property is specified). | 
| Value | The value (as a string) that is assigned to the property. If the property is Boolean, then the Valueparameter can take the following values:true,True,1andfalse,False,0. |