Version: 2022.1
언어: 한국어

Path.GetFileName(string)

매뉴얼로 전환

설명

Returns the file name, including the extension if any, of the specified path string.

The return value consists of the characters after the last directory character in path. If the last character of path is a directory separator character, returns an empty string.