Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileInfo.ToString Method

Returns the fully qualified path as a string.

[Visual Basic]
Overrides Public Function ToString() As String
public override string ToString();
public: String* ToString();
public override function ToString() : String;

Return Value

A string representing the fully qualified path.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

FileInfo Class | FileInfo Members | System.IO Namespace | Working with I/O | Reading Text from a File | Writing Text to a File

© 2015 Microsoft