TIEPortableDevices.LastError
Declaration
property LastError: string;
Description
Returns detail on the last failure that occurred.
When calling a WPD method, such as
NavigateToFolderID, a False result will indicate failure. Read
LastError to access detail of the failure.
Read-only
Example
if IEPortableDevices.RefreshDevices = False then
ShowMessage('Unable to get devices: ' + IEPortableDevices.LastError);