ParamByValue method
|
TextTemplateConverter component.
|
type
|
TacTemplateParameter = class(TCollectionItem)
|
published
|
property Name: String;
|
property Value: String;
|
end;
|
|
function ParamByValue(const ParamValue: String): TacTemplateParameter;
|
The ParamByValue method returns the pointer to TacTemplateParameter object where the Value property is equal to the ParamValue parameter.
|
|
You can use this method to quickly find some value in the Params collection and modify its Name.
|
|
Function returns NIL if the specified ParamValue was not found in Params collection.
|
acTemplateConverter1.ParamByValue('The Value').Name := '%another_keyword%';
|
Params property;
|
ParamByName and Convert methods.
|