BBjClientFile::setContents

Description

In BBj 7.0 and higher, this method sets the contents of the file this BBjClientFile represents.

Syntax

Return Value

Method

void

setContents(string p_value$)

Parameters

Variable

Description

p_value$

The contents of the file.

Return Value

None.

Remarks

Attempting to use this method to send large amounts of data to the client may cause the server to run out of memory.

The BUI client sets the contents of the file in the web server cache to the specified string, then copies the updated file to the client. See BUI: Interacting with client files for a detailed discussion of the BUI BBjClientFile.

Example

See Also

BBjAPI

BBjThinClient

BBjClientFileSystem

BBjClientFile

BBjClientFile::copyToClient

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.