set_attribute_int64


Description:

public bool set_attribute_int64 (string attribute, int64 value, FileQueryInfoFlags flags, Cancellable? cancellable = null) throws Error

Sets attribute of type g_file_attribute_type_int64 to value.

If attribute is of a different type, this operation will fail.

If cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error g_io_error_cancelled will be returned.

Parameters:

this

input File

attribute

a string containing the attribute's name

value

a uint64 containing the attribute's new value

flags

a FileQueryInfoFlags

cancellable

optional Cancellable object, null to ignore

Returns:

true if the attribute was successfully set, false otherwise.




2022 vala-language.org