Info. To String Method
public: override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
The original path that was passed by the user.
The string returned by the ToString method represents the path that was passed to the DirectoryInfo constructor. Instead of calling the
ToString method, you should retrieve the value of either of the following properties, depending on your intent: