Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
MediaCollection.isDeleted
The isDeleted method retrieves a value indicating whether the specified media item is in the deleted items folder.
Syntax
Parameters
item
Media object that might be deleted.
Return Values
This method returns a Boolean.
Remarks
To use this method, read access to the library is required. For more information, see Library Access.
Windows Media Player 10 Mobile: This method always returns false.
Example Code
The following JScript example uses MediaCollection.isDeleted to test whether a particular media item, stored in the variable named mediaObject, is in the deleted items folder. If the media item has not been deleted already, it is moved to the deleted items folder. The Player object was created with ID = "Player".
Requirements
Version: Windows Media Player version 7.0, Windows Media Player version 7.1, or Windows Media Player for Windows XP. This method is not supported for Windows Media Player 9 Series or later.
Library: Use wmp.dll.
See Also
- Media Object
- MediaCollection Object
- MediaCollection.setDeleted
- Settings.mediaAccessRights
- Settings.requestMediaAccessRights
| Previous | Next |