IMediaItem.cs 737 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // IMediaItem.cs
  3. //
  4. // by Eric Haddan
  5. //
  6. using System;
  7. using IMAPI2.Interop;
  8. namespace IMAPI2.MediaItem
  9. {
  10. interface IMediaItem
  11. {
  12. /// <summary>
  13. /// Returns the full path of the file or directory
  14. /// </summary>
  15. string Path { get; }
  16. /// <summary>
  17. /// Returns the size of the file or directory to the next largest sector
  18. /// </summary>
  19. Int64 SizeOnDisc { get; }
  20. /// <summary>
  21. /// Returns the Icon of the file or directory
  22. /// </summary>
  23. System.Drawing.Image FileIconImage { get; }
  24. // Adds the file or directory to the directory item, usually the root.
  25. bool AddToFileSystem(IFsiDirectoryItem rootItem);
  26. }
  27. }