FileInfo.ToString Method

Returns the path as a string.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public override string ToString()

Return Value

Type: System.String
A string representing the path.

Version Notes

Windows Phone

This member is present to support the .NET Compact Framework infrastructure in Windows Phone, and it is not intended to be used in your application code.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft