• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IFileInfo

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public interface IFileInfo

Properties

| Improve this Doc View Source

ContentItemID

Gets or sets a reference to ContentItem, to use in Workflows.

Declaration
int ContentItemID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ContentType

Declaration
string ContentType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CreatedByUserID

Declaration
int CreatedByUserID { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

CreatedOnDate

Declaration
DateTime CreatedOnDate { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

Description

Declaration
string Description { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

EnablePublishPeriod

Gets or sets a value indicating whether publish period is enabled for the file.

Declaration
bool EnablePublishPeriod { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EndDate

Gets or sets the date on which the file ends to be published.

Declaration
DateTime EndDate { get; set; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

Extension

Declaration
string Extension { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FileAttributes

Declaration
FileAttributes? FileAttributes { get; }
Property Value
Type Description
System.Nullable<FileAttributes>
| Improve this Doc View Source

FileId

Declaration
int FileId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

FileName

Declaration
string FileName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Folder

Declaration
string Folder { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FolderId

Declaration
int FolderId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

FolderMappingID

Declaration
int FolderMappingID { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

HasBeenPublished

Gets a value indicating whether gets a flag which says whether the file has ever been published.

Declaration
bool HasBeenPublished { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Height

Declaration
int Height { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsCached

Declaration
bool IsCached { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsEnabled

Gets a value indicating whether the file is enabled, considering if the publish period is active and if the current date is within the publish period.

Declaration
bool IsEnabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LastModificationTime

Declaration
DateTime LastModificationTime { get; set; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

LastModifiedByUserID

Declaration
int LastModifiedByUserID { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LastModifiedOnDate

Declaration
DateTime LastModifiedOnDate { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

PhysicalPath

Declaration
string PhysicalPath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalId

Declaration
int PortalId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PublishedVersion

Gets or sets the published version number of the file.

Declaration
int PublishedVersion { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RelativePath

Declaration
string RelativePath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SHA1Hash

Declaration
string SHA1Hash { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Size

Declaration
int Size { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

StartDate

Gets or sets the date on which the file starts to be published.

Declaration
DateTime StartDate { get; set; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

StorageLocation

Declaration
int StorageLocation { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SupportsFileAttributes

Declaration
bool SupportsFileAttributes { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Title

Gets or sets a metadata field with an optional title associated to the file.

Declaration
string Title { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

UniqueId

Declaration
Guid UniqueId { get; set; }
Property Value
Type Description
Guid
| Improve this Doc View Source

VersionGuid

Declaration
Guid VersionGuid { get; set; }
Property Value
Type Description
Guid
| Improve this Doc View Source

Width

Declaration
int Width { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

CreatedByUser(Int32)

Declaration
UserInfo CreatedByUser(int portalId)
Parameters
Type Name Description
System.Int32 portalId
Returns
Type Description
UserInfo
| Improve this Doc View Source

LastModifiedByUser(Int32)

Declaration
UserInfo LastModifiedByUser(int portalId)
Parameters
Type Name Description
System.Int32 portalId
Returns
Type Description
UserInfo

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS