PathInfo.ToString Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string representing the PowerShell path.
public:
 override System::String ^ ToString();public:
 override Platform::String ^ ToString(); override std::wstring ToString();public override string ToString();override this.ToString : unit -> stringPublic Overrides Function ToString () As StringReturns
A string representing the PowerShell path.