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