Documentation Center

PslResData.SetEntryData

Set the data for a resource entry before calling PslResData.ProcessEntry. See PslReasData.GetEntryData for an complete example. In the Programmers Reference you find a complete example how to use PslResData.

Syntax

Expression.SetEntryData (DataID as Integer, DataValue as String) as void

Expression Object of type PslResData

DataID

pslResUpdId (Value = 0): Set the id of the resource entry.

pslResUpdText (Value = 1): Set the resource text of the resource entry.

pslResUpdCtrl (Value = 2): Set additional information about the resource entry. No additional data is defined up to now. Before you call PslResData.ProcessEntry you must call PslResData.SetEntry with the DataID pslResUpdCtrl and an empty string:

pslResTranslated (Value = 3) Checks if the translation string is translated. Use only when generating target file.

pslResComment (Value = 4): Sets a comment for the entry.

rd.SetEntryData(pslResUpdCtrl, "") 
rd.ProcessEntry

DataValue The new value of the resource data.