Edit

Share via


NSWorkspace.UnmountAndEjectDevice Method

Definition

Overloads

UnmountAndEjectDevice(String)
UnmountAndEjectDevice(NSUrl, NSError)

UnmountAndEjectDevice(String)

[Foundation.Export("unmountAndEjectDeviceAtPath:")]
[ObjCRuntime.ThreadSafe]
public virtual bool UnmountAndEjectDevice (string path);
abstract member UnmountAndEjectDevice : string -> bool
override this.UnmountAndEjectDevice : string -> bool

Parameters

path
String

Returns

Attributes

Applies to

UnmountAndEjectDevice(NSUrl, NSError)

[Foundation.Export("unmountAndEjectDeviceAtURL:error:")]
[ObjCRuntime.ThreadSafe]
public virtual bool UnmountAndEjectDevice (Foundation.NSUrl url, out Foundation.NSError error);
abstract member UnmountAndEjectDevice : Foundation.NSUrl *  -> bool
override this.UnmountAndEjectDevice : Foundation.NSUrl *  -> bool

Parameters

url
NSUrl
error
NSError

Returns

Attributes

Applies to