BuildMaster SDK Reference
Version:

GetFileName(string path) Method

Same as System.IO.Path.GetFileName(System.String), but preserves the directory separator character.

Syntax

public static string GetFileName(string path)

Parameters

path
Type: string

The path string from which to obtain the file name and extension.

Returns

A System.Stringconsisting of the characters after the last directory character in path.