FileSystemProvider.NameString(PSObject) 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.
Provides a NameString property for FileSystemInfo.
public static string NameString (System.Management.Automation.PSObject instance);
static member NameString : System.Management.Automation.PSObject -> string
Public Shared Function NameString (instance As PSObject) As String
Parameters
- instance
- PSObject
Instance of PSObject wrapping a FileSystemInfo.
Returns
Name if a file or directory, Name -> Target if symlink.