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
Methods
CanEject()
public bool CanEject()
Returns
CanMount()
public bool CanMount()
Returns
EjectFinish(AsyncResult)
public bool EjectFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
EjectWithOperationFinish(AsyncResult)
[Version("2.22")]
public bool EjectWithOperationFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
EnumerateIdentifiers()
public string[] EnumerateIdentifiers()
Returns
- string[]
GetActivationRoot()
[Version("2.18")]
public File? GetActivationRoot()
Returns
GetDrive()
public Drive? GetDrive()
Returns
GetGType()
public static Type GetGType()
Returns
GetIcon()
public Icon GetIcon()
Returns
GetIdentifier(string)
public string? GetIdentifier(string kind)
Parameters
kind
string
Returns
GetMount()
public Mount? GetMount()
Returns
GetName()
public string GetName()
Returns
GetSortKey()
[Version("2.32")]
public string? GetSortKey()
Returns
GetSymbolicIcon()
[Version("2.34")]
public Icon GetSymbolicIcon()
Returns
GetUuid()
public string? GetUuid()
Returns
MountFinish(AsyncResult)
public bool MountFinish(AsyncResult result)
Parameters
result
AsyncResult
Returns
ShouldAutomount()
public bool ShouldAutomount()