Utilities.FileClose Method

Applies to TestComplete 15.47, last modified on January 20, 2023
This method is obsolete. See the Remarks section below.

Description

The Utilities.FileClose method closes the file whose handle is specified by the Handle parameter. The handle is obtained when you open or create the file using the FileOpen or FileCreate method.

Declaration

Utilities.FileClose(Handle)

Handle [in]    Required    String    
Result None

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Handle

Specifies the handle of the file to be closed.

Result Value

None.

Remarks

This method is obsolete. It is supported for backward compatibility only. To work with binary and text files, use the methods of the aqBinaryFile or aqTextFile object.

See Also

Close Method
Close Method
OpenBinaryFile Method
OpenTextFile Method
Create Method

Highlight search results