Interface IFile
Describes a file asset as provided by the underlying environment (like DNN)
[PublicApi]
public interface IFile : IAsset
- Inherited Members
Properties
Extension
The file extension of the real underlying file.
string Extension { get; }
Property Value
- string
The extension, like "pdf" or "jpg"
Folder
The folder of the file
string Folder { get; }
Property Value
- string
The folder name
FolderId
The folder ID of the file, if the underlying environment uses int IDs
int FolderId { get; }
Property Value
- int
an int with the id used by the environment to track this item
FullName
The full file name of the original file
string FullName { get; }
Property Value
- string
The full file name with extension.
Size
The file size of the file, IF the underlying environment provides this.
int Size { get; }
Property Value
- int
the size in bytes
SizeInfo
Size information for files
ISizeInfo SizeInfo { get; }
Property Value
Remarks
Added in v14.04