| DeviceEject Method |
[This is preliminary documentation and is subject to change.]
Ejects the device.
Namespace:
UsbEject
Assembly:
UsbEject (in UsbEject.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax public string Eject(
bool allowUI
)
Public Function Eject (
allowUI As Boolean
) As String
public:
String^ Eject(
bool allowUI
)
member Eject :
allowUI : bool -> string
Parameters
- allowUI
- Type: SystemBoolean
Pass true to allow the Windows shell to display any related UI element, false otherwise.
Return Value
Type:
Stringnull if no error occured, otherwise a contextual text.
See Also