FileSystemProvider.NameString(PSObject) Method

Definition

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.

Applies to