Property Name Name Gets the name of the file or directory that this path refers to. Declaration string Name { get; } Property Value Type Description string