System.Rtti.TRttiIndexedProperty.SetValue
Delphi
procedure SetValue(Instance: Pointer; const Args: array of TValue; const Value: TValue);
C++
void __fastcall SetValue(void * Instance, const TValue *Args, const System::NativeInt Args_High, const TValue &Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiIndexedProperty |
Description
Sets the value of a specific element from the collection represented by this TRttiIndexedProperty instance.
SetValue can be used to change specific property elements.
Parameters are described in the following table:
| Name | Description |
|---|---|
| Instance | The target instance of the class that has indexed properties. |
| Args | Index information. |
| Value | The value to assign. See TValue. |