ChangeValueByKey

<< Click to Display Table of Contents >>

Navigation:  TUserData > Methods >

ChangeValueByKey

function  ChangeValueByKey(const AKey:string;AValue:string):boolean;

 

 

Description:

 

Change the value by key. if AKey do not match , it return  false else return true;

 

Parameter:

 

  AKey:  exist key;

  AValue: new value ;

 

Examples:

 

 If  UserData1.ChangeValueByKey('Name','Rose') THEN

  ShowMessage('Changed!');