Skip to main content

ItemProperties

Type

Represents metadata properties of a file.

Properties

Size

This item is read only and cannot be modified. Read Only
ItemProperties.Size: number

The size of the file in bytes.

CreationTime

This item is read only and cannot be modified. Read Only
ItemProperties.CreationTime: DateTime

The time the file was created, typically as a DateTime Object.

LastModifiedTime

This item is read only and cannot be modified. Read Only
ItemProperties.LastModifiedTime: DateTime

The time the file was last modified, typically as a DateTime Object.

IsHidden

ItemProperties.IsHidden: boolean

Indicates if the file is marked as hidden by the operating system.

-- Settable via setproperties

IsReadOnly

ItemProperties.IsReadOnly: boolean

Indicates if the file is marked as read-only by the operating system.

-- Settable via setproperties

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "Size",
            "desc": "The size of the file in bytes.",
            "lua_type": "number",
            "readonly": true,
            "source": {
                "line": 16,
                "path": "impl/Types/ItemProperties.luau"
            }
        },
        {
            "name": "CreationTime",
            "desc": "The time the file was created, typically as a DateTime Object.",
            "lua_type": "DateTime",
            "readonly": true,
            "source": {
                "line": 25,
                "path": "impl/Types/ItemProperties.luau"
            }
        },
        {
            "name": "LastModifiedTime",
            "desc": "The time the file was last modified, typically as a DateTime Object.",
            "lua_type": "DateTime",
            "readonly": true,
            "source": {
                "line": 34,
                "path": "impl/Types/ItemProperties.luau"
            }
        },
        {
            "name": "IsHidden",
            "desc": "Indicates if the file is marked as hidden by the operating system.\n\n-- Settable via `setproperties`",
            "lua_type": "boolean",
            "source": {
                "line": 43,
                "path": "impl/Types/ItemProperties.luau"
            }
        },
        {
            "name": "IsReadOnly",
            "desc": "Indicates if the file is marked as read-only by the operating system.\n\n-- Settable via `setproperties`",
            "lua_type": "boolean",
            "source": {
                "line": 52,
                "path": "impl/Types/ItemProperties.luau"
            }
        }
    ],
    "types": [],
    "name": "ItemProperties",
    "desc": "Represents metadata properties of a file.",
    "tags": [
        "Type"
    ],
    "source": {
        "line": 7,
        "path": "impl/Types/ItemProperties.luau"
    }
}