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
傳回
- 屬性