close


Description:

public bool close (Cancellable? cancellable = null) throws Error

Releases all resources used by this enumerator, making the enumerator return g_io_error_closed on all calls.

This will be automatically called when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible.

Parameters:

this

a FileEnumerator.

cancellable

optional Cancellable object, null to ignore.

Returns:

TRUE on success or FALSE on error.




2022 vala-language.org