Returns the path as a string.
Assembly: mscorlib (in mscorlib.dll)
The string returned by the method represents path that was passed to the constructor. When you create a FileInfo object using the constructors, the method returns the fully qualified path. However, there are cases where the string returned by the method does not represent the fully qualified path. For example, when you create a FileInfo object using the GetFiles method, the method does not represent the fully qualified path.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)