共用方式為


NSWorkspace.UnmountAndEjectDevice 方法

定義

多載

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

參數

path
String

傳回

屬性

適用於

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

參數

url
NSUrl
error
NSError

傳回

屬性

適用於