Table of Contents

Class VolumeHelper

Namespace
Gio
Assembly
Gio-2.0.dll
public sealed class VolumeHelper : Object, IObject, INotifyPropertyChanged, IDisposable, Volume, IHandle, GTypeProvider
Inheritance
VolumeHelper
Implements
Inherited Members

Constructors

VolumeHelper(IntPtr, bool)

public VolumeHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Methods

CanEject()

public bool CanEject()

Returns

bool

CanMount()

public bool CanMount()

Returns

bool

EjectFinish(AsyncResult)

public bool EjectFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

EjectWithOperationFinish(AsyncResult)

[Version("2.22")]
public bool EjectWithOperationFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

EnumerateIdentifiers()

public string[] EnumerateIdentifiers()

Returns

string[]

GetActivationRoot()

[Version("2.18")]
public File? GetActivationRoot()

Returns

File

GetDrive()

public Drive? GetDrive()

Returns

Drive

GetGType()

public static Type GetGType()

Returns

Type

GetIcon()

public Icon GetIcon()

Returns

Icon

GetIdentifier(string)

public string? GetIdentifier(string kind)

Parameters

kind string

Returns

string

GetMount()

public Mount? GetMount()

Returns

Mount

GetName()

public string GetName()

Returns

string

GetSortKey()

[Version("2.32")]
public string? GetSortKey()

Returns

string

GetSymbolicIcon()

[Version("2.34")]
public Icon GetSymbolicIcon()

Returns

Icon

GetUuid()

public string? GetUuid()

Returns

string

MountFinish(AsyncResult)

public bool MountFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

ShouldAutomount()

public bool ShouldAutomount()

Returns

bool