Attempts to eject the volume mounted at the given path.
Original signature is '- (BOOL)unmountAndEjectDeviceAtURL:(NSURL *)url error:(NSError **)error'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Overridable Function UnmountAndEjectDeviceAtURLError ( _ url As NSURL, _ <OutAttribute> ByRef error As NSError _ ) As Boolean
public: virtual bool UnmountAndEjectDeviceAtURLError( NSURL^ url, [OutAttribute] NSError^% error )
Return Value
YES if the volume was unmounted and ejected successfully, otherwise NO, for example, if the volume is not ejectable.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)