call_set_type_sync


Description:

public bool call_set_type_sync (string arg_type, Variant arg_options, Cancellable? cancellable = null) throws Error

Synchronously invokes the SetType D-Bus method on this.

The calling thread is blocked until a reply is received.

See call_set_type for the asynchronous version of this method.

Parameters:

this

A PartitionProxy.

arg_type

Argument to pass with the method invocation.

arg_options

Argument to pass with the method invocation.

cancellable

A Cancellable or null.

Returns:

true if the call succeded, false if error is set.