Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Interface

StorageItem

sealed interface StorageItem

Module: System.Storage
Assembly: System.Runtime.dll
Source file: StorageItems.rvn

Closed hierarchy: only the permitted direct subtypes can extend this type.
Permitted direct subtypes: File, Directory

A stored item whose two permitted interface branches are File and Directory.

Remarks

The Raven reference metadata closes the root to File and Directory. Providers may implement those interfaces, but cannot introduce unrelated direct StorageItem branches. The compiler and strict CIL importer enforce this boundary; raw neoIL does not enforce the closed-hierarchy metadata. The implementation owns interpretation and access. Directory.GetItems provides bounded mixed-item enumeration. Metadata queries remain planned.

Derived interfaces

Documented types in this API reference. Indirect relationships are marked.

Properties

2 items
Name: string Gets this item's represented name without performing a storage query. Defined by StorageItem.Name · Required implementation (no default).
Path: Path Gets this item's logical address in its provider namespace. Defined by StorageItem.Path · Required implementation (no default).