FileSystemProvider.Mode(PSObject) Method

Definition

Provides a mode property for FileSystemInfo.

public:
 static System::String ^ Mode(System::Management::Automation::PSObject ^ instance);
public static string Mode (System.Management.Automation.PSObject instance);
static member Mode : System.Management.Automation.PSObject -> string
Public Shared Function Mode (instance As PSObject) As String

Parameters

instance
PSObject

Instance of PSObject wrapping a FileSystemInfo.

Returns

A string representation of the FileAttributes, with one letter per attribute.

Applies to