• Basics
  • Abyss
  • Web APIs
  • C# & Razor
  • .net API
  • JS & TS API
v16
Search Results for

    Show / Hide Table of Contents

    Interface IAsset

    Any asset (file/folder) of the EAV App System.
    This interface contains properties which both IFolder and IFile have in common

    Namespace: ToSic.Eav.Apps.Assets
    Assembly: ToSic.Eav.Apps.dll
    Syntax
    [PublicApi]
    public interface IAsset

    Properties

    | Improve this Doc View Source

    Created

    The creation date of the item, as reported by the environment.

    Declaration
    DateTime Created { get; }
    Property Value
    Type Description
    DateTime

    The date-time when the file was created.

    | Improve this Doc View Source

    Id

    The ID of the item, if the underlying environment uses int IDs

    Declaration
    int Id { get; }
    Property Value
    Type Description
    int

    an int with the id used by the environment to track this item

    | Improve this Doc View Source

    Modified

    The modified date of the file, as reported by the environment.

    Declaration
    DateTime Modified { get; }
    Property Value
    Type Description
    DateTime

    The date-time when the file was modified last.

    | Improve this Doc View Source

    Name

    The asset name typically the folder or the file name

    Declaration
    string Name { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    ParentId

    The folder ID of the file, or parent-folder of a folder, if the underlying environment uses int IDs

    Declaration
    int ParentId { get; }
    Property Value
    Type Description
    int

    an int with the id used by the environment to track this item

    | Improve this Doc View Source

    Path

    The relative physical path of the item in the file system of the environment. This is usually relative to the site root.

    Declaration
    string Path { get; }
    Property Value
    Type Description
    string

    The full path of this item

    | Improve this Doc View Source

    PhysicalPath

    The full physical path to folder or file to access them on the local server.

    Declaration
    string PhysicalPath { get; }
    Property Value
    Type Description
    string

    The full physical path to this asset

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX