RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebSession.SetValue Method

Assigns a value to a specified name.

Pascal
procedure SetValue(const AName: string; const AValue: Variant); override;
C++
virtual __fastcall SetValue(const AnsiString AName, const Variant AValue);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!