set_attribute_uint64


Description:

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

Sets attribute of type g_file_attribute_type_uint64 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 to value in the this, false otherwise.




2022 vala-language.org