NSWorkspace.UnmountAndEjectDevice 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
返回
- 属性