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

返回

属性

适用于