Method
GetItem
abstract virtual func GetItem(relativePath: Path) -> Result<StorageItem, StorageLookupError>
Declaring type: Directory
Module: System.Storage
Assembly: System.Runtime.dll
Source file: StorageItems.rvn
Defined by Directory.GetItem · Required implementation (no default).
Interface implementation: Required implementation (no default).
Resolves an existing file or directory relative to this directory.
Parameters
| Name | Type | Description |
|---|---|---|
relativePath |
Path | A relative Path; absolute inputs return InvalidPath and dot refers to this directory. |
Return value
Result<StorageItem, StorageLookupError>
A provider-owned StorageItem or StorageLookupError.