CloseFile Method
Closes a cached file.
Syntax
Remarks
This method closes the cached file identified by FileId, performing the any flushing and/or purging operations specified by the component's other properties. (To override the configured flushing and purging behaviors, use the CloseFileEx method instead.)
This method returns immediately, any flushing and/or purging operations are performed in the background.
.NET Standard Notes
To call this method in an asynchronous manner call CloseFileAsync instead. When the method completes (or an error is encountered) the CloseFileCompleted event will fire.