// // IMediaItem.cs // // by Eric Haddan // using System; using IMAPI2.Interop; namespace IMAPI2.MediaItem { interface IMediaItem { /// /// Returns the full path of the file or directory /// string Path { get; } /// /// Returns the size of the file or directory to the next largest sector /// Int64 SizeOnDisc { get; } /// /// Returns the Icon of the file or directory /// System.Drawing.Image FileIconImage { get; } // Adds the file or directory to the directory item, usually the root. bool AddToFileSystem(IFsiDirectoryItem rootItem); } }