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

API Browser

Method

GetFileName

static func GetFileName(value0: string) -> string

Declaring type: Path
Module: System.Storage
Assembly: System.Runtime.dll
Source file: Path.rvn

Extracts the final component using the existing native path helper.

Parameters

Name Type Description
value0 String A native path string.

Return value

String

The native final component, or an empty string when none is available.

Remarks

This compatibility helper neither validates a Path value nor queries storage.