Web.HTTPApp.TAbstractWebSession.SetValue
Delphi
procedure SetValue(const AName: string; const AValue: Variant); virtual; abstract;
C++
virtual void __fastcall SetValue(const System::UnicodeString AName, const System::Variant &AValue) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | TAbstractWebSession |
Description
Assigns a value to a specified name.
SetValue is the protected write implementation of the Value property.
AName is the name of the value to store.
AValue is the value to store under the specified name.
In TAbstractWebSession, SetValue is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes must override this method to provide an implementation for the Values property.