Defines a File
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntaxpublic interface IFile : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Properties View Source Alias
Gets the Alias of the File, which is the name without the extension
Declaration Property Value Type Description System.String View Source ContentGets or sets the Content of a File
Declarationstring Content { get; set; }
Property Value Type Description System.String View Source Name
Gets the Name of the File including extension
Declaration Property Value Type Description System.String View Source OriginalPathGets the original path of the file
Declarationstring OriginalPath { get; }
Property Value Type Description System.String View Source Path
Gets or sets the Path to the File from the root of the file's associated IFileSystem
Declarationstring Path { get; set; }
Property Value Type Description System.String View Source VirtualPath
Gets or sets the file's virtual path (i.e. the file path relative to the root of the website)
Declarationstring VirtualPath { get; set; }
Property Value Type Description System.String Methods View Source ResetOriginalPath()
Called to re-set the OriginalPath to the Path
DeclarationRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4