set_attribute_uint32


Description:

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

Sets attribute of type g_file_attribute_type_uint32 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 uint32 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.